cli-log

This project provides common log methods for command line.

cli-log

This project provides common log methods for your command line app.

npm -g install cli-log
var  log = require("cli-log").init({ prefix: '[app]', prefixColor: 'cyan', prefixBgColor: 'bgCyan' });
 
log.log( "hello" );
log.warn( "hello" );
log.oops( "hello" );
log.error( "hello" );

For more color options check out cli-color.