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

Package detail

color-logger

h13i32maru279.8kMIT0.0.6

Colorful Logger

logger, log

readme

Build Status Coverage Status

Color Logger

colorful logger for node.

npm install color-logger

Example

import Logger from 'color-logger';

// simple usage
Logger.v('verbose log1', 'verbose log2');

// use object
Logger.d({foo: 123, bar: [1, 2, 3]});

// all log level and colors
Logger.v('verbose log');
Logger.d('debug log');
Logger.i('info log');
Logger.w('warning log');
Logger.e('error log');

API Reference

https://h13i32maru.github.io/color-logger/

License

MIT