color should be false by default otherwise the http logger's color would be wrong

This commit is contained in:
JessonChan 2019-03-08 14:42:06 +08:00
parent 121fab61f1
commit 93485df3d2
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ func NewConsole() Logger {
cw := &consoleWriter{
lg: newLogWriter(os.Stdout),
Level: LevelDebug,
Colorful: runtime.GOOS != "windows",
Colorful: false,
}
return cw
}