window console can't output colorful

This commit is contained in:
astaxie 2016-03-11 15:29:52 +08:00
parent 83fe43f331
commit 88816348b9
1 changed files with 1 additions and 1 deletions

View File

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