kamituel-logger

winston-based logger with handy defaults

npm install kamituel-logger
1 downloads in the last week
4 downloads in the last month

kamituel-logger

It's a wrapper around fine Winston logger. It provides aliases for common logging functions as well as middleware used to log all express.js' requests.

Usage

Simple usage:

var log = require('kamituel-logger');

log.i('info');
log.w('warning');
log.e('error');

Use it as express.js' middleware:

var log = require('kamituel-logger');

app.use(express.logger('dev', {stream: log.stream}));
npm loves you