mirror of
https://github.com/astaxie/beego.git
synced 2024-12-22 22:40:49 +00:00
window console can't output colorful
This commit is contained in:
parent
83fe43f331
commit
88816348b9
@ -56,7 +56,7 @@ func NewConsole() Logger {
|
||||
cw := &consoleWriter{
|
||||
lg: newLogWriter(os.Stdout),
|
||||
Level: LevelDebug,
|
||||
Colorful: true,
|
||||
Colorful: runtime.GOOS != "windows",
|
||||
}
|
||||
return cw
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user