2.1.0 • Published 9 years ago

bunyan-readable v2.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

bunyan-readable Build Status

This project aims to make bunyan logs more readable. It is meant to produce output for humans and not machines.

Format

Bunyan

{
  "name": "name",
  "hostname": "hostname",
  "pid": "pid",
  "level": "level",
  "msg": "msg",
  "time": "time",
  "v": "log_version",
  "custom_field": "whatever"
}

bunyan-readable

name[hostname/pid]: name(level): msg=msg custom_field=whatever

Note: name(level) turns log level codes into level names e.g. 30 into info

Install

$ npm install bunyan-readable -g

Now you can pipe bunyan output to `bunyan-readable'

$ node yourscript.js | bunyan-readable
2.1.0

9 years ago

2.0.0

9 years ago

1.1.0

10 years ago

1.0.0

10 years ago

0.0.0

10 years ago