0.0.4 • Published 13 years ago

node-ccl v0.0.4

Weekly downloads
12
License
-
Repository
github
Last release
13 years ago

node-ccl

Colored, context-enabled logger.

It is in beta version.

The way I use it:

//initial global settings
var logger = require('node-ccl');
logger.setDefaultShowDebug(true);
logger.setPadding(8);

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

//and then
log.info('blah-blah');
log.debug(someJsonObject); //it will use JSON.stringify automaticly
log.warn('some bad warning');
0.0.4

13 years ago

0.0.3

13 years ago

0.0.2

13 years ago

0.0.1

13 years ago