logger-interface
v0.1.1
Published
An interface for a common logger, with some basic implementations.
Readme
logger-interface
A simple typescript interface for a logger. Intended for having a standard logger interface for many packages.
Also contains 2 simple implementations:
- ConsoleLogger - outputs the log messages to the console
- DummyLogger - An empty implementation which doesn't output the log messages. Intended for situations that you just need a class behind the interface, like in tests.
