pioppo
A tiny isomorphic batched logger. ~3x faster than regular logging in Node.
Last updated 2 years ago by fabiospampinato .
Repository · Bugs · Original npm · Tarball · package.json
$ gnpm 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.0                                ...           latest (2 years ago)

2 Versions

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

Copyright 2013 - present © cnpmjs.org | Home |