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

banner

pino

Build Status  js-standard-style  TypeScript definitions on DefinitelyTyped

Very low overhead Node.js logger.

Documentation

Install

$ npm install pino

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 is conducted in a separate process. In Pino parlance we call all log processors "transports", and recommend that the transports be run as separate processes, piping the stdout of the application to the stdin of the transport.

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

Communication

Chat on Gitter

https://gitter.im/pinojs/pino

Chat on IRC

You'll find an active group of Pino users in the #pinojs channel on Freenode, including some of the contributors to this project.

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 (2 years ago)
  • 6.3.2                                ...           latest (a month ago)
  • 2.16.0                                ...           legacy (3 years ago)
  • 6.0.0-rc.2                                ...           next (3 months ago)

207 Versions

  • 6.3.2                                ...           a month ago
  • 6.3.1                                ...           a month ago
  • 6.3.0                                ...           a month ago
  • 6.2.1                                ...           2 months ago
  • 6.2.0                                ...           3 months ago
  • 6.1.1                                ...           3 months ago
  • 6.1.0                                ...           3 months ago
  • 6.0.0                                ...           3 months ago
  • 6.0.0-rc.2                                ...           3 months ago
  • 6.0.0-rc.1                                ...           3 months ago
  • 5.17.0                                ...           4 months ago
  • 5.16.0                                ...           6 months ago
  • 5.15.0                                ...           7 months ago
  • 5.14.0                                ...           7 months ago
  • 5.13.6                                ...           8 months ago
  • 5.13.5                                ...           9 months ago
  • 5.13.4                                ...           9 months ago
  • 5.13.3                                ...           10 months ago
  • 5.13.2                                ...           a year ago
  • 5.13.1                                ...           a year ago
  • 5.13.0                                ...           a year ago
  • 5.12.6                                ...           a year ago
  • 5.12.5                                ...           a year ago
  • 5.12.4                                ...           a year ago
  • 5.12.3                                ...           a year ago
  • 5.12.2                                ...           a year ago
  • 5.12.1                                ...           a year ago
  • 5.12.0                                ...           a year ago
  • 5.11.3                                ...           a year ago
  • 5.11.2                                ...           a year ago
  • 5.11.1                                ...           a year ago
  • 5.11.0                                ...           a year ago
  • 5.10.10                                ...           a year ago
  • 5.10.9                                ...           a year ago
  • 5.10.8                                ...           a year ago
  • 5.10.7                                ...           a year ago
  • 5.10.6                                ...           2 years ago
  • 5.10.5                                ...           2 years ago
  • 5.10.4                                ...           2 years ago
  • 5.10.3                                ...           2 years ago
  • 5.10.2                                ...           2 years ago
  • 5.10.1                                ...           2 years ago
  • 5.9.0                                ...           2 years ago
  • 5.8.1                                ...           2 years ago
  • 5.8.0                                ...           2 years ago
  • 5.7.0                                ...           2 years ago
  • 5.6.4                                ...           2 years ago
  • 5.6.3                                ...           2 years ago
  • 5.6.2                                ...           2 years ago
  • 5.6.1                                ...           2 years ago
  • 5.6.0                                ...           2 years ago
  • 5.5.0                                ...           2 years ago
  • 5.4.1                                ...           2 years ago
  • 5.4.0                                ...           2 years ago
  • 5.3.1                                ...           2 years ago
  • 5.3.0                                ...           2 years ago
  • 5.2.0                                ...           2 years ago
  • 5.1.1                                ...           2 years ago
  • 5.1.0                                ...           2 years ago
  • 5.0.5                                ...           2 years ago
  • 5.0.4                                ...           2 years ago
  • 5.0.3                                ...           2 years ago
  • 5.0.2                                ...           2 years ago
  • 5.0.1                                ...           2 years ago
  • 5.0.0                                ...           2 years ago
  • 4.17.6                                ...           2 years ago
  • 4.17.5                                ...           2 years ago
  • 5.0.0-rc.6                                ...           2 years ago
  • 5.0.0-rc.5                                ...           2 years ago
  • 5.0.0-rc.4                                ...           2 years ago
  • 5.0.0-rc.3                                ...           2 years ago
  • 4.17.3                                ...           2 years ago
  • 4.17.2                                ...           2 years ago
  • 4.17.1                                ...           2 years ago
  • 4.17.0                                ...           2 years ago
  • 5.0.0-rc.2                                ...           2 years ago
  • 5.0.0-rc.1                                ...           2 years ago
  • 4.16.1                                ...           2 years ago
  • 4.16.0                                ...           2 years ago
  • 4.15.4                                ...           2 years ago
  • 4.15.3                                ...           2 years ago
  • 4.15.2                                ...           2 years ago
  • 4.15.1                                ...           2 years ago
  • 4.15.0                                ...           2 years ago
  • 4.14.0                                ...           2 years ago
  • 4.13.0                                ...           2 years ago
  • 4.12.0                                ...           2 years ago
  • 4.11.0                                ...           2 years ago
  • 4.10.4                                ...           2 years ago
  • 4.10.3                                ...           3 years ago
  • 4.10.2                                ...           3 years ago
  • 4.10.1                                ...           3 years ago
  • 4.10.0                                ...           3 years ago
  • 4.9.0                                ...           3 years ago
  • 4.8.2                                ...           3 years ago
  • 4.8.1                                ...           3 years ago
  • 4.8.0                                ...           3 years ago
  • 4.7.3                                ...           3 years ago
  • 4.7.2                                ...           3 years ago
  • 4.7.1                                ...           3 years ago
  • 4.7.0                                ...           3 years ago
  • 4.6.0                                ...           3 years ago
  • 4.5.4                                ...           3 years ago
  • 4.5.3                                ...           3 years ago
  • 4.5.2                                ...           3 years ago
  • 4.5.1                                ...           3 years ago
  • 4.5.0                                ...           3 years ago
  • 4.4.0                                ...           3 years ago
  • 4.3.0                                ...           3 years ago
  • 4.2.4                                ...           3 years ago
  • 4.2.3                                ...           3 years ago
  • 4.2.2                                ...           3 years ago
  • 4.2.1                                ...           3 years ago
  • 4.2.0                                ...           3 years ago
  • 4.1.2                                ...           3 years ago
  • 4.1.1                                ...           3 years ago
  • 4.1.0                                ...           3 years ago
  • 4.0.3                                ...           3 years ago
  • 4.0.2                                ...           3 years ago
  • 4.0.1                                ...           3 years ago
  • 4.0.0                                ...           3 years ago
  • 3.4.0                                ...           3 years ago
  • 3.3.2                                ...           3 years ago
  • 3.3.1                                ...           3 years ago
  • 3.3.0                                ...           3 years ago
  • 3.2.0                                ...           3 years ago
  • 3.1.3                                ...           3 years ago
  • 3.1.2                                ...           3 years ago
  • 3.1.1                                ...           3 years ago
  • 2.16.0                                ...           3 years ago
  • 3.1.0                                ...           3 years ago
  • 3.0.7                                ...           4 years ago
  • 3.0.6                                ...           4 years ago
  • 3.0.5                                ...           4 years ago
  • 3.0.4                                ...           4 years ago
  • 3.0.3                                ...           4 years ago
  • 3.0.2                                ...           4 years ago
  • 3.0.1                                ...           4 years ago
  • 3.0.0                                ...           4 years ago
  • 2.15.0                                ...           4 years ago
  • 2.14.0                                ...           4 years ago
  • 2.13.2                                ...           4 years ago
  • 2.13.0                                ...           4 years ago
  • 2.12.4                                ...           4 years ago
  • 2.12.3                                ...           4 years ago
  • 2.12.2                                ...           4 years ago
  • 2.12.1                                ...           4 years ago
  • 2.12.0                                ...           4 years ago
  • 2.11.0                                ...           4 years ago
  • 2.10.1                                ...           4 years ago
  • 2.10.0                                ...           4 years ago
  • 2.9.0                                ...           4 years ago
  • 2.8.3                                ...           4 years ago
  • 2.8.2                                ...           4 years ago
  • 2.8.1                                ...           4 years ago
  • 2.8.0                                ...           4 years ago
  • 2.7.5                                ...           4 years ago
  • 2.7.4                                ...           4 years ago
  • 2.7.3                                ...           4 years ago
  • 2.7.2                                ...           4 years ago
  • 2.7.1                                ...           4 years ago
  • 2.7.0                                ...           4 years ago
  • 2.6.1                                ...           4 years ago
  • 2.6.0                                ...           4 years ago
  • 2.5.0                                ...           4 years ago
  • 2.4.4                                ...           4 years ago
  • 2.4.3                                ...           4 years ago
  • 2.4.2                                ...           4 years ago
  • 2.4.1                                ...           4 years ago
  • 2.4.0                                ...           4 years ago
  • 2.3.0                                ...           4 years ago
  • 2.2.3                                ...           4 years ago
  • 2.2.2 [deprecated]           ...           4 years ago
  • 2.2.1                                ...           4 years ago
  • 2.2.0                                ...           4 years ago
  • 2.1.7                                ...           4 years ago
  • 2.1.6                                ...           4 years ago
  • 2.1.5                                ...           4 years ago
  • 2.1.4                                ...           4 years ago
  • 2.1.3                                ...           4 years ago
  • 2.1.2                                ...           4 years ago
  • 2.1.1                                ...           4 years ago
  • 2.1.0                                ...           4 years ago
  • 2.0.0                                ...           4 years ago
  • 1.1.1                                ...           4 years ago
  • 1.1.0                                ...           4 years ago
  • 1.0.5                                ...           4 years ago
  • 1.0.4                                ...           4 years ago
  • 1.0.3                                ...           4 years ago
  • 1.0.2                                ...           4 years ago
  • 1.0.1                                ...           4 years ago
  • 1.0.0                                ...           4 years ago
  • 0.4.2                                ...           4 years ago
  • 0.4.1                                ...           4 years ago
  • 0.4.0                                ...           4 years ago
  • 0.3.1                                ...           4 years ago
  • 0.3.0                                ...           4 years ago
  • 0.2.5                                ...           4 years ago
  • 0.2.4                                ...           4 years ago
  • 0.2.3                                ...           4 years ago
  • 0.2.2                                ...           4 years ago
  • 0.2.1                                ...           4 years ago
  • 0.2.0                                ...           4 years ago
  • 0.1.2                                ...           4 years ago
  • 0.1.1                                ...           4 years ago
  • 0.1.0                                ...           4 years ago
  • 0.0.1                                ...           4 years ago
Downloads
Today 441
This Week 2,499
This Month 1,387
Last Day 539
Last Week 2,775
Last Month 13,057
Dependencies (6)
Dev Dependencies (25)
Dependents (1120)

Copyright 2014 - 2016 © taobao.org |