3.0.2 • Published 4 years ago
1log v3.0.2
This library provides a function log
that can be used as the regular console.log
, but has two superpowers: you can insert it into any expression, as in f(log(x))
, and it supports plugins. There are plugins for setting severity level, for logging functions, async functions, promises, iterables, async iterables, observables, for creating snapshots of log messages in Jest tests, and more.
Please refer to the GitHub README for full documentation and screenshots.