$ npm install pioppo
A tiny isomorphic batched logger. ~3x faster than regular logging in Node.
npm install --save pioppo
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 ();
MIT © Fabio Spampinato
© 2010 - cnpmjs.org x YWFE | Home | YWFE