From 2e1e4f35748bb210b2d6c9753c1a25975af35fd9 Mon Sep 17 00:00:00 2001 From: chen quan Date: Wed, 21 Sep 2022 22:30:06 +0800 Subject: [PATCH] feat: add color to debug (#2433) --- core/logx/writer.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/logx/writer.go b/core/logx/writer.go index be673d77..46c7eb6a 100644 --- a/core/logx/writer.go +++ b/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 }