uber-go/zap

Dev: Colored console output

Open

#489 opened on Aug 15, 2017

View on GitHub
 (10 comments) (28 reactions) (0 assignees)Go (22,391 stars) (1,448 forks)batch import
help wanted

Description

We should color the output under the development config for better readability in a console.

Some ideas,

  • Color log lines based on levels
  • Use a muted color for stack traces belonging to vendored dependencies and something brighter for the main application
  • Color keys and values for key-value pairs differently

Contributor guide