@honout/logger-pino
v0.0.6
Published
A system always comes with a top level scoped logger, meaning a logger will always be accessable. You can however override it on an application level basis.
Downloads
7
Maintainers
Readme
Honout Pino Logger
A system always comes with a top level scoped logger, meaning a logger will always be accessable. You can however override it on an application level basis.
Usage
import { injectable, IApplication } from '@honout/system';
import { HonoutPinoLogger } from '@honout/pino-logger';
@injectable()
@WithFunctionality({
functionality: HonoutPinoLogger,
configure: {
name: 'My logger',
level: 'error',
},
})
class MyApp implements IApplication {}