@api-typed/logger
v0.1.0
Published
Logger and logging tools.
Readme
🛠 Api-Typed/Common
🥣 An Api-Typed component.
Logger and logging tools.
- Provides a
LoggerInterfacewith industry standard methods. - Provides an
AbstractLoggerclass that implementsLoggerInterfaceso you don't have to. - Provides a
NullLoggerclass that can be useful in tests or default values of params to silence any logging transparently. - Inject logger via
@InjectLogger()decorator when combined with TypeDI.
This needs work so probably shouldn't be used outside of Api-Typed. But gets the job done for now.
Installation
$ npm i -S @api-typed/configNo configuration needed.
