pino-catch-all

v2.0.0
Transforms non-JSON log lines into Pino compatible lines
pino logger logging transport transform json non-json catch rewrite and 1 more...

pino-catch-all

Transforms non-JSON log lines into Pino compatible lines

Github Actions NPM version Dependencies Install size

Installation

Install the module using yarn:

$ yarn add pino-catch-all

Or using npm:

$ npm install pino-catch-all

Usage

Use it before any other Pino transports to catch all non-JSON lines and transform them into compatible lines:

$ node ./app.js | pino-catch-all | pino-pretty

Authors and license

Author: Valentin Agachi.

MIT License, see the included LICENSE file.

npm i pino-catch-all

Metadata

  • MIT
  • >=14.0.0
  • Valentin Agachi
  • released 2/5/2023

Downloads

Maintainers