0.0.0 • Published 9 months ago
@dassie/lib-logger v0.0.0
@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"))
Prior Art
0.0.0
9 months ago