strudel-logging

1.0.0 • Public • Published

Chipper - a simple, human-friendly, structured logger

If you build a lot of small services, structured logging is mandatory, but JSON is painful to read.

Chipper uses a simple delimited log format that's legible for people or machines, and extends to metrics or events.

INFO|1552559713812|root|Received request to /my-func|#env:prod,app:my-app,trace
INFO|1552559713819|root|Querying API|#env:prod,app:my-app,trace
ERROR|1552559713819|root|Received 400 bad request|#env:prod,app:my-app,trace
MONITORING|1552559713845|20|api.response-time|gauge|#env:prod,app:my-app,status:500,trace,error
EVENT|1552559713847|api.request-processed|#env:prod,app:my-app,status:500,trace,error

Readme

Keywords

none

Package Sidebar

Install

npm i strudel-logging

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

9.38 kB

Total Files

8

Last publish

Collaborators

  • bobthemighty