1.0.0 • Published 4 months ago

log-to-stdout v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

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

1.0.0

4 months ago