uber-go/zap

Dev: Colored console output

オープン

#489 opened on 2017/08/15

 (10 件のコメント) (28 件のリアクション) (0 人の担当者)Go (1,448 件のフォーク)batch import
help wanted

Repository metrics

Stars
 (22,391 個のスター)
PR merge metrics
 (30d に merged 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

コントリビューターガイド