1.0.0 • Published 11 years ago

log-colors v1.0.0

Weekly downloads
60
License
-
Repository
github
Last release
11 years ago

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