1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-25 20:10:56 +00:00

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

View File

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