@hydre/pino-human

1.3.0 • Public • Published

pino-human

NPM Package Version

A pino ndjson formatter for humans

  • Colored
  • Fields aligned in columns for easy pattern recognition
  • Relative time
  • Logger names

Logger names

This formatter expects to have a name json string property in each log line as logger name

- pino()
+ pino({ base: { name: "logger" }})

Example

Using the example script from the Pino module modified to have logger names, this will look like:

demo

Install

npm install @hydre/pino-human

Usage

node app.js | pino-human

License

Unlicense

Readme

Keywords

Package Sidebar

Install

npm i @hydre/pino-human

Weekly Downloads

156

Version

1.3.0

License

Unlicense

Unpacked Size

86.5 kB

Total Files

8

Last publish

Collaborators

  • sceat
  • hydre-bot
  • deltaevo