Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (14 sloc) 461 Bytes


Colored, context-enabled logger.

It is in beta version.

The way I use it:

//initial global settings
var logger = require('node-ccl');

//using it
var log = require('node-ccl').forContext('RUNNER', 'yellow');

//and then'blah-blah');
log.debug(someJsonObject); //it will use JSON.stringify automaticly
log.warn('some bad warning');
Something went wrong with that request. Please try again.