pavlog
v4.0.5
Published
Unified logging for npm modules.
Readme
pavlog
Unified logging for npm modules.
Installation
$ npm install pavlog --saveUsage
import pavlog from 'pavlog'
pavlog.useConsole()
const log = pavlog.child('olive')
log('Start logging...') // default level: info
log.fatal('All your base are belong to us!')Development
Pavlog uses JavaScript Standard Style, Babel for ES6+ support, and Jest for testing.
$ git clone [email protected]:pavlovml/pavlog.git
$ make testTo run the tests on file changes:
$ env WATCH=true make testTODO
- Advanced console pretty-printing (esp. for errors)
- Listeners for other logging services
- More documentation
