From 93485df3d2e193d42d411349c998598bd2155734 Mon Sep 17 00:00:00 2001 From: JessonChan Date: Fri, 8 Mar 2019 14:42:06 +0800 Subject: [PATCH] color should be false by default otherwise the http logger's color would be wrong --- logs/console.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logs/console.go b/logs/console.go index e75f2a1b..43ff417a 100644 --- a/logs/console.go +++ b/logs/console.go @@ -56,7 +56,7 @@ func NewConsole() Logger { cw := &consoleWriter{ lg: newLogWriter(os.Stdout), Level: LevelDebug, - Colorful: runtime.GOOS != "windows", + Colorful: false, } return cw }