4.0.5 • Published 10 years ago

pavlog v4.0.5

Weekly downloads
2
License
BSD-3-Clause
Repository
github
Last release
10 years ago

pavlog

TravisCI shield npm shield js-standard-style

Unified logging for npm modules.

Installation

$ npm install pavlog --save

Usage

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 git@github.com:pavlovml/pavlog.git
$ make test

To run the tests on file changes:

$ env WATCH=true make test

TODO

  • Advanced console pretty-printing (esp. for errors)
  • Listeners for other logging services
  • More documentation

License

BSD 3-Clause

4.0.5

10 years ago

4.0.4

10 years ago

4.0.3

10 years ago

4.0.2

10 years ago

4.0.1

10 years ago

3.0.2

10 years ago

3.0.1

10 years ago

3.0.0

10 years ago