This package provides a log prettifier for the Pino logging library.
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
});