tinylog

Transform the console object into a colored logger system.

npm install tinylog
6 downloads in the last week
12 downloads in the last month
npm install tinylog

Transform the NodeJS console object into a colored logger system for the CLI.

Example

if(colored_console)    require('tinylog');

console.log('Nikta');
console.warn('Oktoberfest');
console.error('Medic');

Will output in the console:

2012-10-02T19:07:40.770Z INFO Nikta
2012-10-02T19:07:40.771Z WARN Oktoberfest
2012-10-02T19:07:40.772Z ERRO Medic
npm loves you