CodeBrowser / npm / abstract-logging
abstract-logging@2.0.1
// A noop logger that conforms to the Log4j interface for modules to stub out internal logging
$ npm install abstract-logging
downloads/wk
9,736,394
license
MIT
version
2.0.1
published
Oct 17, 2020
What is abstract-logging?
abstract-logging provides a no-operation logger that implements the Log4j interface, allowing modules to include logging statements without requiring an actual logging implementation. Developers use it to stub out logging in libraries and modules, preventing log output unless the consuming application provides its own logger. It's useful for creating modules that support logging without imposing a specific logging dependency on users.
Keywords
#log #logging #logger #pino
Maintainers
jsumners