Skip to content

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

License

Notifications You must be signed in to change notification settings

fabiospampinato/pioppo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published