@api-typed/logger
v0.1.0
Published
Logger and logging tools.
Downloads
26
Readme
🛠 Api-Typed/Common
🥣 An Api-Typed component.
Logger and logging tools.
- Provides a
LoggerInterface
with industry standard methods. - Provides an
AbstractLogger
class that implementsLoggerInterface
so you don't have to. - Provides a
NullLogger
class 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/config
No configuration needed.