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

贡献者指南