1.1.3 • Published 1 year ago

pino-garland v1.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Pino Garland

Logo

What

Pino Garland is a Pino transport, that pretty prints logs to the console. It transforms:

{ "level": 30, "time": 1546300800000, "msg": "hello world", "pid": 1234, "hostname": "localhost", "v": 1 }

into

Screenshot

Installation

npm install pino-garland

Usage

const pino = require('pino')
const transport = pino.transport({
  target: '/absolute/path/to/my-transport.mjs'
})
pino(transport)

Legacy

pnpm run server | pino-garland