diff --git a/logger_internal.go b/logger_internal.go index 7a25fd8..e504d9b 100644 --- a/logger_internal.go +++ b/logger_internal.go @@ -62,7 +62,9 @@ func printMessage(level string, message string) { } if PrintColors { + color.NoColor = false if c, ok := colors[level]; ok { + c.EnableColor() c.Fprintln(w, message) return }