From d0d07604e56f38befe5f74be892537b14b84f99e Mon Sep 17 00:00:00 2001 From: fumiama Date: Fri, 3 Dec 2021 23:12:45 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=8F=EF=B8=8F=20=20=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E4=B8=80=E7=82=B9=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main_win.go | 1 + 1 file changed, 1 insertion(+) diff --git a/main_win.go b/main_win.go index a1b5e146..e08a3719 100644 --- a/main_win.go +++ b/main_win.go @@ -9,6 +9,7 @@ import ( ) func init() { + // windows 不支持带颜色的 log,故自定义格式 logrus.SetFormatter(&easy.Formatter{ LogFormat: "[%lvl%] %msg%\n", })