@dassie/lib-logger
v0.0.0
Published
Logging library for the Dassie ILP project
Downloads
5
Readme
@dassie/lib-logger
This library provides logging services for Dassie.
Basic Usage
import { createLogger } from "@dassie/lib-logger"
const logger = createLogger("foo:example:http-server")
logger.debug?.("This will print depending on the debug scope")
logger.info("This will always print")
logger.warn("This will print with some emphasis")
logger.error("This will print with maximum emphasis")
logger.logError(new Error("This is an example error"))