Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lifion/pino-prettifier
Development mode prettifier for Pino
https://github.com/lifion/pino-prettifier
lifion logger logging pino prettifier
Last synced: 22 days ago
JSON representation
Development mode prettifier for Pino
- Host: GitHub
- URL: https://github.com/lifion/pino-prettifier
- Owner: lifion
- License: mit
- Created: 2019-02-27T20:12:49.000Z (almost 6 years ago)
- Default Branch: develop
- Last Pushed: 2023-03-07T17:57:34.000Z (almost 2 years ago)
- Last Synced: 2024-12-03T17:55:28.323Z (about 1 month ago)
- Topics: lifion, logger, logging, pino, prettifier
- Language: JavaScript
- Size: 1.06 MB
- Stars: 0
- Watchers: 8
- Forks: 0
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# pino-prettifier
[![npm version](https://badge.fury.io/js/pino-prettifier.svg)](http://badge.fury.io/js/pino-prettifier)
This package provides a log prettifier for the [Pino](https://getpino.io/) logging library.
## Usage
Install the library as usual:
```sh
npm install pino-prettifier
```Then use the proper `pino` options:
```JS
const pino = require('pino');
const prettifier = require('pino-prettifier');
const logger = pino({
prettyPrint: true,
prettifier
});
```## License
[MIT](LICENSE)