Browse Source

feat: add color to debug (#2433)

chen quan 2 năm trước cách đây
mục cha
commit
2e1e4f3574
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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
 	}