Skip to content

Commit

Permalink
feat: trace log level color with gray, same as debug (antonfisher#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
arxeiss authored Mar 9, 2021
1 parent d41190e commit d45de03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion formatter.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ const (

func getColorByLevel(level logrus.Level) int {
switch level {
case logrus.DebugLevel:
case logrus.DebugLevel, logrus.TraceLevel:
return colorGray
case logrus.WarnLevel:
return colorYellow
Expand Down

0 comments on commit d45de03

Please sign in to comment.