Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Pino | 12,177 | 3,070 | 3,178 | 5 hours ago | 286 | July 27, 2023 | 83 | other | JavaScript | |
🌲 super fast, all natural json logger | ||||||||||
Zerolog | 8,896 | 336 | 6,276 | 6 days ago | 96 | July 29, 2023 | 131 | mit | Go | |
Zero Allocation JSON Logger | ||||||||||
Poco | 7,357 | 1 | 4 hours ago | 8 | November 02, 2022 | 266 | other | C | ||
The POCO C++ Libraries are powerful cross-platform C++ libraries for building network- and internet-based applications that run on desktop, server, mobile, IoT, and embedded systems. | ||||||||||
Node Bunyan | 6,994 | 14,375 | 3,769 | 5 months ago | 114 | January 08, 2021 | 283 | other | JavaScript | |
a simple and fast JSON logging module for node.js services | ||||||||||
Viztracer | 3,559 | 3 | 2 months ago | 73 | November 13, 2022 | 9 | apache-2.0 | Python | ||
VizTracer is a low-overhead logging/debugging/profiling tool that can trace and visualize your python code execution. | ||||||||||
Xlog | 2,710 | 64 | 5 | a year ago | 19 | July 11, 2021 | 18 | apache-2.0 | Java | |
Android logger, pretty, powerful and flexible, log to everywhere, save to file, all you want is here. | ||||||||||
Python Json Logger | 1,509 | 459 | 364 | 3 months ago | 27 | February 21, 2023 | 12 | bsd-2-clause | Python | |
Json Formatter for the standard python logger | ||||||||||
Tslog | 1,160 | 346 | 10 days ago | 119 | August 23, 2023 | 30 | mit | TypeScript | ||
📝 tslog - Universal Logger for TypeScript and JavaScript | ||||||||||
Stylekit | 1,157 | 5 years ago | 10 | mit | Swift | |||||
A powerful & easy to use styling framework written in Swift | ||||||||||
Logzero | 1,034 | 207 | 341 | 10 months ago | 15 | July 10, 2017 | 25 | mit | Python | |
Robust and effective logging for Python 2 and 3. |
Very low overhead Node.js logger.
Using NPM:
$ npm install pino
Using YARN:
$ yarn add pino
If you would like to install pino v6, refer to https://github.com/pinojs/pino/tree/v6.x.
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:
http
The pino-pretty
module can be used to
format logs during development:
Due to Node's single-threaded event-loop, it's highly recommended that sending, alert triggering, reformatting, and all forms of log processing are 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.
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.
Pino supports being bundled using tools like webpack or esbuild.
See Bundling document for more information.
https://www.npmjs.com/~matteo.collina
https://twitter.com/matteocollina
https://github.com/davidmarkclements
https://www.npmjs.com/~davidmarkclements
https://twitter.com/davidmarkclem
https://www.npmjs.com/~jsumners
https://twitter.com/jsumners79
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.
This project was kindly sponsored by nearForm.
Logo and identity designed by Cosmic Fox Design: https://www.behance.net/cosmicfox.
Licensed under MIT.