1
0
mirror of https://github.com/astaxie/beego.git synced 2024-12-22 17:00:50 +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{
lg: newLogWriter(os.Stdout),
Level: LevelDebug,
Colorful: runtime.GOOS != "windows",
Colorful: false,
}
return cw
}