cli-log

This project provides common log methods for command line.

npm install cli-log
6 downloads in the last day
57 downloads in the last week
500 downloads in the last month

cli-log

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

Install

npm -g install cli-log

How to use:

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.

npm loves you