#terminal-colors #json #logger #color #pipe #golang #pretty

app zap-prettier

CLI pipe uber/zap golang logs (JSON) to pretty terminal colors

2 releases

0.1.1 Oct 23, 2022
0.1.0 Oct 23, 2022

#40 in #golang

23 downloads per month

MIT/Apache

10KB
230 lines

zap-prettier

Make json logs produced by "zap" and similar json loggers prettier

This is a good starter repo to getting your own very fast JSON log formatter out of your existing apps.

Usage

Once you've built the binary you can simply pipe to that binary to see improved logging.

go run main.go | zap-prettier

Dependencies

~0.7–1.6MB
~34K SLoC