log-to-stdout
v1.0.0
Published
This package offers a simple logger that logs to stdout. It is intended as a replacement for actual loggers in unit tests.
Readme
Log to StdOut
This package offers a simple logger that logs to stdout. It is intended as a replacement for actual loggers in unit tests.
It offers functions for debug, info, warn and error log levels, as well as a setLevel function to set the log level.
The level can be reset to the initial level with the resetLevel function.
Installation
Add log-to-stdout as a devDepenency to your project: npm install log-to-stdout --save-dev
