4.0.5 • Published 8 years ago

pavlog v4.0.5

Weekly downloads
2
License
BSD-3-Clause
Repository
github
Last release
8 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

8 years ago

4.0.4

8 years ago

4.0.3

8 years ago

4.0.2

8 years ago

4.0.1

8 years ago

3.0.2

8 years ago

3.0.1

8 years ago

3.0.0

8 years ago