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:
parent
121fab61f1
commit
93485df3d2
@ -56,7 +56,7 @@ func NewConsole() Logger {
|
||||
cw := &consoleWriter{
|
||||
lg: newLogWriter(os.Stdout),
|
||||
Level: LevelDebug,
|
||||
Colorful: runtime.GOOS != "windows",
|
||||
Colorful: false,
|
||||
}
|
||||
return cw
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user