strudel-logging
v1.0.0
Published
Human readable structured logging
Downloads
4
Readme
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