Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

loog

palulabs128MIT1.8.0

Just what the world needs: Another logging library for Node.js

log, logging, logger

readme

loog

Greenkeeper badge Inline docs Build Status Coverage Status npm version

1 simple log, 1 extra letter

loog provides a simple but very complete logger interface.

How to install

npm install --save loog

License

MIT

Acknowledgments

The loog ASCII logo uses the FIGlet font: script, created by Glenn Chappell.

changelog

Change Log

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

1.8.0 (2018-01-08)

Features

  • Log methods: Add json method to log a JSON object (c6a11ae)

1.7.0 (2018-01-05)

Features

  • Methods: Add new 'success' method (0f3c165)
  • Prefixes: Add npm prefix style (d7858fc)

1.6.0 (2017-07-29)

Features

  • Chaining: Add support for chained method calls (74a84fe)
  • Clear: Add new clear method (71083fb)
  • clearLine: Add clearLine method (05cdffb)
  • Count: Added count / clearCount methods (f36458e)
  • Prefixes: Allow custom prefixes and process prefix (4888a4a)
  • Track: Add track / untrack / report methods (cdd0f3c)

1.5.1 (2017-07-06)

1.5.0 (2017-07-05)

Bug Fixes

  • LogLevel: Reorder log levels to match npm@5 style (84aded7)

Features

  • Log level: Read default log level from process.env.npm_config_loglevel if exists (e57c224)

1.4.0 (2017-05-23)

Bug Fixes

  • logLevel: Make sure log is always enabled (unless muted) (e2e78da)
  • mute: Change underlying mute value to boolean (from int) (6c15931)
  • mute: Make sure that mute actually prevents logs from being printed (87ef295)

Features

  • Indentation: Add methods to pause/resume/reset indentation, fix for negative indentation (87485f2), closes #4

1.3.1 (2017-05-22)

Bug Fixes

  • logLevel: Make sure logLevel is valid when calling setLogLevel (fa78d92)

1.3.0 (2017-05-22)

Features

  • logLevel: Add logLevel config and setLogLevel methods (414a930)