pioppo
A tiny isomorphic batched logger. ~3x faster than regular logging in Node.
Last updated 7 months ago by fabiospampinato .
Repository · Bugs · Original npm · Tarball · package.json
$ npm install pioppo 
SYNC missed versions from official npm registry.

Pioppo

A tiny isomorphic batched logger. ~3x faster than regular logging in Node.

Install

npm install --save pioppo

Usage

import Pioppo from 'pioppo';

const pioppo = new Pioppo ({
  transports: [console]
});

// Logging some messages

pioppo.debug ( 'Some message' );
pioppo.info ( 'Some message' );
pioppo.warn ( 'Some message' );
pioppo.error ( 'Some message' );

// Flushing messages immediately

pioppo.flush ();

License

MIT © Fabio Spampinato

Current Tags

  • 1.1.1                                ...           latest (7 months ago)

3 Versions

  • 1.1.1                                ...           7 months ago
  • 1.1.0                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Total 0
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (2)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE