Colorful Logger For Node.js
JavaScript Shell
Latest commit f3049ac Apr 30, 2016 @h13i32maru feat: no color log
Permalink
Failed to load latest commit information.
misc feat: first commit. Apr 5, 2015
script fix: doc May 1, 2016
src feat: no color log May 1, 2016
test/src feat: no color log May 1, 2016
.babelrc feat: re-implementation May 1, 2016
.gitignore feat: first commit. Apr 5, 2015
.travis.yml feat: re-implementation May 1, 2016
LICENSE feat: first commit. Apr 5, 2015
README.md fix: doc May 1, 2016
esdoc.json fix: doc May 1, 2016
package.json feat: no color log May 1, 2016

README.md

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