Browse Source

feat: add color to debug (#2433)

chen quan 2 years ago
parent
commit
2e1e4f3574
1 changed files with 2 additions and 0 deletions
  1. 2 0
      core/logx/writer.go

+ 2 - 0
core/logx/writer.go

@@ -292,6 +292,8 @@ func wrapLevelWithColor(level string) string {
 		colour = color.FgBlue
 	case levelSlow:
 		colour = color.FgYellow
+	case levelDebug:
+		colour = color.FgYellow
 	case levelStat:
 		colour = color.FgGreen
 	}