uber-go/zap

Dev: Colored console output

开放

#489 创建于 2017年8月15日

 (10 条评论) (28 个反应) (0 位负责人)Go (1,448 个派生)batch import
help wanted

仓库指标

星标
 (22,391 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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

贡献者指南