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

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.8–8MB
~71K SLoC