$ gnpm 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
Copyright 2013 - present © cnpmjs.org | Home |