uber-go/zap

Dev: Colored console output

Open

#489 建立於 2017年8月15日

在 GitHub 查看
 (10 留言) (28 反應) (0 負責人)Go (22,391 star) (1,448 fork)batch import
help wanted

描述

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

貢獻者指南