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:
parent
121fab61f1
commit
93485df3d2
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user