pino
super fast, all natural json logger
Last updated 3 years ago by matteo.collina .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install pino 
SYNC missed versions from official npm registry.

banner

pino

npm version Build Status Known Vulnerabilities js-standard-style

Very low overhead Node.js logger.

Documentation

Install

$ npm install pino@next

If you would like to install pino v6, refer to https://github.com/pinojs/pino/tree/v6.x.

Usage

const logger = require('pino')()

logger.info('hello world')

const child = logger.child({ a: 'property' })
child.info('hello child!')

This produces:

{"level":30,"time":1531171074631,"msg":"hello world","pid":657,"hostname":"Davids-MBP-3.fritz.box"}
{"level":30,"time":1531171082399,"msg":"hello child!","pid":657,"hostname":"Davids-MBP-3.fritz.box","a":"property"}

For using Pino with a web framework see:

Essentials

Development Formatting

The pino-pretty module can be used to format logs during development:

pretty demo

Transports & Log Processing

Due to Node's single-threaded event-loop, it's highly recommended that sending, alert triggering, reformatting and all forms of log processing be conducted in a separate process or thread.

In Pino terminology we call all log processors "transports", and recommend that the transports be run in a worker thread using our pino.transport API.

For more details see our Transports⇗ document.

Low overhead

Using minimum resources for logging is very important. Log messages tend to get added over time and this can lead to a throttling effect on applications – such as reduced requests per second.

In many cases, Pino is over 5x faster than alternatives.

See the Benchmarks document for comparisons.

The Team

Matteo Collina

https://github.com/pinojs

https://www.npmjs.com/~matteo.collina

https://twitter.com/matteocollina

David Mark Clements

https://github.com/davidmarkclements

https://www.npmjs.com/~davidmarkclements

https://twitter.com/davidmarkclem

James Sumners

https://github.com/jsumners

https://www.npmjs.com/~jsumners

https://twitter.com/jsumners79

Thomas Watson Steen

https://github.com/watson

https://www.npmjs.com/~watson

https://twitter.com/wa7son

Contributing

Pino is an OPEN Open Source Project. This means that:

Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project.

See the CONTRIBUTING.md file for more details.

Acknowledgements

This project was kindly sponsored by nearForm.

Logo and identity designed by Cosmic Fox Design: https://www.behance.net/cosmicfox.

License

Licensed under MIT.

Current Tags

  • 4.17.6                                ...           four (6 years ago)
  • 9.5.0                                ...           latest (a month ago)
  • 2.16.0                                ...           legacy (8 years ago)
  • 7.0.0-rc.9                                ...           next (3 years ago)
  • 6.14.0                                ...           six (3 years ago)

311 Versions

  • 9.5.0                                ...           a month ago
  • 9.4.0                                ...           2 months ago
  • 9.3.2                                ...           4 months ago
  • 9.3.1                                ...           4 months ago
  • 9.3.0                                ...           4 months ago
  • 9.2.0                                ...           5 months ago
  • 9.1.0                                ...           6 months ago
  • 9.0.0                                ...           7 months ago
  • 8.21.0                                ...           7 months ago
  • 8.20.0                                ...           7 months ago
  • 8.19.0                                ...           9 months ago
  • 8.18.0                                ...           9 months ago
  • 8.17.2                                ...           a year ago
  • 8.17.1                                ...           a year ago
  • 8.17.0                                ...           a year ago
  • 8.16.2                                ...           a year ago
  • 8.16.1                                ...           a year ago
  • 8.16.0                                ...           a year ago
  • 8.15.7                                ...           a year ago
  • 8.15.6                                ...           a year ago
  • 8.15.5                                ...           a year ago
  • 8.15.4                                ...           a year ago
  • 8.15.3                                ...           a year ago
  • 8.15.2                                ...           a year ago
  • 8.15.1                                ...           a year ago
  • 8.15.0                                ...           a year ago
  • 8.14.2                                ...           a year ago
  • 8.14.1                                ...           2 years ago
  • 8.14.0                                ...           2 years ago
  • 8.12.1                                ...           2 years ago
  • 8.12.0                                ...           2 years ago
  • 8.11.0                                ...           2 years ago
  • 8.10.0                                ...           2 years ago
  • 8.9.0                                ...           2 years ago
  • 8.8.0                                ...           2 years ago
  • 8.7.0                                ...           2 years ago
  • 8.6.1                                ...           2 years ago
  • 8.6.0                                ...           2 years ago
  • 8.5.0                                ...           2 years ago
  • 8.4.2                                ...           2 years ago
  • 8.4.1                                ...           2 years ago
  • 8.4.0                                ...           2 years ago
  • 8.3.1                                ...           2 years ago
  • 8.3.0                                ...           2 years ago
  • 8.2.0                                ...           2 years ago
  • 8.1.0                                ...           2 years ago
  • 8.0.0                                ...           2 years ago
  • 7.11.0                                ...           3 years ago
  • 7.10.0                                ...           3 years ago
  • 7.9.2                                ...           3 years ago
  • 7.9.1                                ...           3 years ago
  • 7.9.0                                ...           3 years ago
  • 7.8.1                                ...           3 years ago
  • 6.14.0                                ...           3 years ago
  • 7.8.0                                ...           3 years ago
  • 7.7.0                                ...           3 years ago
  • 7.6.5                                ...           3 years ago
  • 7.6.4                                ...           3 years ago
  • 7.6.3                                ...           3 years ago
  • 7.6.2                                ...           3 years ago
  • 6.13.4                                ...           3 years ago
  • 7.6.1                                ...           3 years ago
  • 7.6.0                                ...           3 years ago
  • 7.5.1                                ...           3 years ago
  • 7.5.0                                ...           3 years ago
  • 7.4.1                                ...           3 years ago
  • 7.4.0                                ...           3 years ago
  • 7.3.0                                ...           3 years ago
  • 7.2.0                                ...           3 years ago
  • 7.1.0                                ...           3 years ago
  • 7.0.5                                ...           3 years ago
  • 7.0.4                                ...           3 years ago
  • 7.0.3                                ...           3 years ago
  • 7.0.2                                ...           3 years ago
  • 7.0.1                                ...           3 years ago
  • 7.0.0                                ...           3 years ago
  • 7.0.0-rc.9                                ...           3 years ago
  • 7.0.0-rc.8                                ...           3 years ago
  • 7.0.0-rc.7                                ...           3 years ago
  • 6.13.3                                ...           3 years ago
  • 7.0.0-rc.6                                ...           3 years ago
  • 7.0.0-rc.5                                ...           3 years ago
  • 7.0.0-rc.4                                ...           3 years ago
  • 6.13.2                                ...           3 years ago
  • 6.13.1                                ...           3 years ago
  • 7.0.0-rc.3                                ...           3 years ago
  • 7.0.0-rc.2                                ...           3 years ago
  • 7.0.0-rc.1                                ...           3 years ago
  • 6.13.0                                ...           3 years ago
  • 6.12.0                                ...           3 years ago
  • 6.11.3                                ...           4 years ago
  • 6.11.2                                ...           4 years ago
  • 6.11.1                                ...           4 years ago
  • 6.11.0                                ...           4 years ago
  • 6.10.0                                ...           4 years ago
  • 6.9.0                                ...           4 years ago
  • 6.8.0                                ...           4 years ago
  • 6.7.0                                ...           4 years ago
  • 6.6.1                                ...           4 years ago
  • 6.6.0                                ...           4 years ago
  • 6.5.1                                ...           4 years ago
  • 6.5.0                                ...           4 years ago
  • 6.4.1                                ...           4 years ago
  • 6.4.0                                ...           4 years ago
  • 6.3.2                                ...           4 years ago
  • 6.3.1                                ...           4 years ago
  • 6.3.0                                ...           4 years ago
  • 6.2.1                                ...           5 years ago
  • 6.2.0                                ...           5 years ago
  • 6.1.1                                ...           5 years ago
  • 6.1.0                                ...           5 years ago
  • 6.0.0                                ...           5 years ago
  • 6.0.0-rc.2                                ...           5 years ago
  • 6.0.0-rc.1                                ...           5 years ago
  • 5.17.0                                ...           5 years ago
  • 5.16.0                                ...           5 years ago
  • 5.15.0                                ...           5 years ago
  • 5.14.0                                ...           5 years ago
  • 5.13.6                                ...           5 years ago
  • 5.13.5                                ...           5 years ago
  • 5.13.4                                ...           5 years ago
  • 5.13.3                                ...           5 years ago
  • 5.13.2                                ...           5 years ago
  • 5.13.1                                ...           5 years ago
  • 5.13.0                                ...           5 years ago
  • 5.12.6                                ...           5 years ago
  • 5.12.5                                ...           5 years ago
  • 5.12.4                                ...           6 years ago
  • 5.12.3                                ...           6 years ago
  • 5.12.2                                ...           6 years ago
  • 5.12.1                                ...           6 years ago
  • 5.12.0                                ...           6 years ago
  • 5.11.3                                ...           6 years ago
  • 5.11.2                                ...           6 years ago
  • 5.11.1                                ...           6 years ago
  • 5.11.0                                ...           6 years ago
  • 5.10.10                                ...           6 years ago
  • 5.10.9                                ...           6 years ago
  • 5.10.8                                ...           6 years ago
  • 5.10.7                                ...           6 years ago
  • 5.10.6                                ...           6 years ago
  • 5.10.5                                ...           6 years ago
  • 5.10.4                                ...           6 years ago
  • 5.10.3                                ...           6 years ago
  • 5.10.2                                ...           6 years ago
  • 5.10.1                                ...           6 years ago
  • 5.9.0                                ...           6 years ago
  • 5.8.1                                ...           6 years ago
  • 5.8.0                                ...           6 years ago
  • 5.7.0                                ...           6 years ago
  • 5.6.4                                ...           6 years ago
  • 5.6.3                                ...           6 years ago
  • 5.6.2                                ...           6 years ago
  • 5.6.1                                ...           6 years ago
  • 5.6.0                                ...           6 years ago
  • 5.5.0                                ...           6 years ago
  • 5.4.1                                ...           6 years ago
  • 5.4.0                                ...           6 years ago
  • 5.3.1                                ...           6 years ago
  • 5.3.0                                ...           6 years ago
  • 5.2.0                                ...           6 years ago
  • 5.1.1                                ...           6 years ago
  • 5.1.0                                ...           6 years ago
  • 5.0.5                                ...           6 years ago
  • 5.0.4                                ...           6 years ago
  • 5.0.3                                ...           6 years ago
  • 5.0.2                                ...           6 years ago
  • 5.0.1                                ...           6 years ago
  • 5.0.0                                ...           6 years ago
  • 4.17.6                                ...           6 years ago
  • 4.17.5                                ...           6 years ago
  • 5.0.0-rc.6                                ...           6 years ago
  • 5.0.0-rc.5                                ...           6 years ago
  • 5.0.0-rc.4                                ...           6 years ago
  • 5.0.0-rc.3                                ...           6 years ago
  • 4.17.3                                ...           6 years ago
  • 4.17.2                                ...           6 years ago
  • 4.17.1                                ...           6 years ago
  • 4.17.0                                ...           6 years ago
  • 5.0.0-rc.2                                ...           7 years ago
  • 5.0.0-rc.1                                ...           7 years ago
  • 4.16.1                                ...           7 years ago
  • 4.16.0                                ...           7 years ago
  • 4.15.4                                ...           7 years ago
  • 4.15.3                                ...           7 years ago
  • 4.15.2                                ...           7 years ago
  • 4.15.1                                ...           7 years ago
  • 4.15.0                                ...           7 years ago
  • 4.14.0                                ...           7 years ago
  • 4.13.0                                ...           7 years ago
  • 4.12.0                                ...           7 years ago
  • 4.11.0                                ...           7 years ago
  • 4.10.4                                ...           7 years ago
  • 4.10.3                                ...           7 years ago
  • 4.10.2                                ...           7 years ago
  • 4.10.1                                ...           7 years ago
  • 4.10.0                                ...           7 years ago
  • 4.9.0                                ...           7 years ago
  • 4.8.2                                ...           7 years ago
  • 4.8.1                                ...           7 years ago
  • 4.8.0                                ...           7 years ago
  • 4.7.3                                ...           7 years ago
  • 4.7.2                                ...           7 years ago
  • 4.7.1                                ...           7 years ago
  • 4.7.0                                ...           7 years ago
  • 4.6.0                                ...           7 years ago
  • 4.5.4                                ...           7 years ago
  • 4.5.3                                ...           7 years ago
  • 4.5.2                                ...           8 years ago
  • 4.5.1                                ...           8 years ago
  • 4.5.0                                ...           8 years ago
  • 4.4.0                                ...           8 years ago
  • 4.3.0                                ...           8 years ago
  • 4.2.4                                ...           8 years ago
  • 4.2.3                                ...           8 years ago
  • 4.2.2                                ...           8 years ago
  • 4.2.1                                ...           8 years ago
  • 4.2.0                                ...           8 years ago
  • 4.1.2                                ...           8 years ago
  • 4.1.1                                ...           8 years ago
  • 4.1.0                                ...           8 years ago
  • 4.0.3                                ...           8 years ago
  • 4.0.2                                ...           8 years ago
  • 4.0.1                                ...           8 years ago
  • 4.0.0                                ...           8 years ago
  • 3.4.0                                ...           8 years ago
  • 3.3.2                                ...           8 years ago
  • 3.3.1                                ...           8 years ago
  • 3.3.0                                ...           8 years ago
  • 3.2.0                                ...           8 years ago
  • 3.1.3                                ...           8 years ago
  • 3.1.2                                ...           8 years ago
  • 3.1.1                                ...           8 years ago
  • 2.16.0                                ...           8 years ago
  • 3.1.0                                ...           8 years ago
  • 3.0.7                                ...           8 years ago
  • 3.0.6                                ...           8 years ago
  • 3.0.5                                ...           8 years ago
  • 3.0.4                                ...           8 years ago
  • 3.0.3                                ...           8 years ago
  • 3.0.2                                ...           8 years ago
  • 3.0.1                                ...           8 years ago
  • 3.0.0                                ...           8 years ago
  • 2.15.0                                ...           8 years ago
  • 2.14.0                                ...           8 years ago
  • 2.13.2                                ...           8 years ago
  • 2.13.0                                ...           8 years ago
  • 2.12.4                                ...           8 years ago
  • 2.12.3                                ...           8 years ago
  • 2.12.2                                ...           8 years ago
  • 2.12.1                                ...           8 years ago
  • 2.12.0                                ...           8 years ago
  • 2.11.0                                ...           8 years ago
  • 2.10.1                                ...           8 years ago
  • 2.10.0                                ...           8 years ago
  • 2.9.0                                ...           8 years ago
  • 2.8.3                                ...           8 years ago
  • 2.8.2                                ...           8 years ago
  • 2.8.1                                ...           8 years ago
  • 2.8.0                                ...           8 years ago
  • 2.7.5                                ...           8 years ago
  • 2.7.4                                ...           8 years ago
  • 2.7.3                                ...           8 years ago
  • 2.7.2                                ...           8 years ago
  • 2.7.1                                ...           8 years ago
  • 2.7.0                                ...           8 years ago
  • 2.6.1                                ...           8 years ago
  • 2.6.0                                ...           8 years ago
  • 2.5.0                                ...           8 years ago
  • 2.4.4                                ...           8 years ago
  • 2.4.3                                ...           8 years ago
  • 2.4.2                                ...           8 years ago
  • 2.4.1                                ...           8 years ago
  • 2.4.0                                ...           9 years ago
  • 2.3.0                                ...           9 years ago
  • 2.2.3                                ...           9 years ago
  • 2.2.2 [deprecated]           ...           9 years ago
  • 2.2.1                                ...           9 years ago
  • 2.2.0                                ...           9 years ago
  • 2.1.7                                ...           9 years ago
  • 2.1.6                                ...           9 years ago
  • 2.1.5                                ...           9 years ago
  • 2.1.4                                ...           9 years ago
  • 2.1.3                                ...           9 years ago
  • 2.1.2                                ...           9 years ago
  • 2.1.1                                ...           9 years ago
  • 2.1.0                                ...           9 years ago
  • 2.0.0                                ...           9 years ago
  • 1.1.1                                ...           9 years ago
  • 1.1.0                                ...           9 years ago
  • 1.0.5                                ...           9 years ago
  • 1.0.4                                ...           9 years ago
  • 1.0.3                                ...           9 years ago
  • 1.0.2                                ...           9 years ago
  • 1.0.1                                ...           9 years ago
  • 1.0.0                                ...           9 years ago
  • 0.4.2                                ...           9 years ago
  • 0.4.1                                ...           9 years ago
  • 0.4.0                                ...           9 years ago
  • 0.3.1                                ...           9 years ago
  • 0.3.0                                ...           9 years ago
  • 0.2.5                                ...           9 years ago
  • 0.2.4                                ...           9 years ago
  • 0.2.3                                ...           9 years ago
  • 0.2.2                                ...           9 years ago
  • 0.2.1                                ...           9 years ago
  • 0.2.0                                ...           9 years ago
  • 0.1.2                                ...           9 years ago
  • 0.1.1                                ...           9 years ago
  • 0.1.0                                ...           9 years ago
  • 0.0.1                                ...           9 years ago
Downloads
Total 0
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dev Dependencies (32)

© 2010 - cnpmjs.org x YWFE | Home | YWFE