1.3.0 • Published 3 years ago

@hydre/pino-human v1.3.0

Weekly downloads
28
License
Unlicense
Repository
github
Last release
3 years ago

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

1.3.0

3 years ago

1.2.0

3 years ago

1.1.0

4 years ago

1.0.0

4 years ago