macOS ◆ xterm-256color ◆ zsh 586 views

Prettier Zap

in simple terms, it pretty prints zap logs and let you query them!

If you are using Zap Logger, you can use Prettier Zap cli for:

  • making the raw JSON outputs of Zap more readable for developer
  • making query base on timestamp, level, caller or a specific (key, value) pair

all non-zap logs are treated as debug logs with the caller field set to the user-code string

check it out at Prettier Zap

More by hadisinaee

UofT Task 01:42

by hadisinaee

See all