pino-catch-all

2.0.0 • Public • Published

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.

Package Sidebar

Install

npm i pino-catch-all

Weekly Downloads

2

Version

2.0.0

License

MIT

Unpacked Size

4.25 kB

Total Files

5

Last publish

Collaborators

  • avaly