How to use the pino/lib/tools.getPrettyStream function in pino

To help you get started, we’ve selected a few pino examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github pinojs / pino-multi-stream / index.js View on Github external
pinoMultiStream.prettyStream = (args = {}) => {
  const { opts = {}, prettifier, dest = process.stdout } = args
  return getPrettyStream(opts, prettifier, dest)
}