1.0.0 • Published 11 years ago
log-colors v1.0.0
Log Colors
A colorized winston console logger. Sometimes you want a very simple logger which just logs to this console. However colors and pretty printing are useful enough to have as a default. For these cases use log-colors
Installation
npm install -S log-colors
Usage
Use as you would a standard winston logger
var logger = require('log-colors')
logger.debug('this should be colorized and pretty-printed', {
foo: 'bar'
}
Test
Execute the command
npm test
1.0.0
11 years ago