Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 509 Bytes

README.md

File metadata and controls

28 lines (19 loc) · 509 Bytes

pino-prettifier

npm version

This package provides a log prettifier for the Pino logging library.

Usage

Install the library as usual:

npm install pino-prettifier

Then use the proper pino options:

const pino = require('pino');
const prettifier = require('pino-prettifier');
const logger = pino({
  prettyPrint: true,
  prettifier
});

License

MIT