joke

Logging is a serious business

npm install joke
13 downloads in the last month

joke

Build Status

Logging is a serious business.

Usage

var joke = require('joke')();
var net = require('net');

joke
  .pipe(joke.stringify())
  .pipe(process.stdout);

joke
  .pipe(joke.stringify())
  .pipe(net.connect({ host: 'localhost', port: 1337 }));

joke.debug('Application starting!');
joke.info('Hello', { name: 'Maciej' });
joke.error('Ooopss...', { error: new Error('You broke it.') });
npm loves you