From 20ac62b5c872bcf641db6f5c10162d7d9c7d7027 Mon Sep 17 00:00:00 2001 From: ZacharyZcR Date: Tue, 20 Jan 2026 13:15:25 +0800 Subject: [PATCH] =?UTF-8?q?style(logging):=20Error=E7=BA=A7=E5=88=AB?= =?UTF-8?q?=E6=97=A5=E5=BF=97=E6=94=B9=E4=B8=BA=E9=BB=84=E8=89=B2=E6=98=BE?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/logging/constants.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/logging/constants.go b/common/logging/constants.go index 93f1c76..0a0de43 100644 --- a/common/logging/constants.go +++ b/common/logging/constants.go @@ -94,7 +94,7 @@ const ( // GetDefaultLevelColors 获取默认的日志级别颜色映射 func GetDefaultLevelColors() map[LogLevel]interface{} { return map[LogLevel]interface{}{ - LevelError: color.FgRed, // 错误日志显示红色 + LevelError: color.FgYellow, // 错误日志显示黄色 LevelVuln: color.FgRed, // 漏洞/重要发现显示红色(密码成功、漏洞等) LevelBase: color.FgWhite, // 基础日志显示白色(普通信息) LevelInfo: color.FgWhite, // 信息日志显示白色(普通信息)