This package has been deprecated

Author message:

Deprecated in favor of @1log/* packages: https://github.com/ivan7237d/1log

1log
TypeScript icon, indicating that this package has built-in type declarations

3.0.2 • Public • Published

gzip size tree shaking types coverage status

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.

Package Sidebar

Install

npm i 1log

Weekly Downloads

21

Version

3.0.2

License

MIT

Unpacked Size

358 kB

Total Files

196

Last publish

Collaborators

  • ivan7237d