diff --git a/hooks/writer/writer_test.go b/hooks/writer/writer_test.go index 22cfdff..a30d3b0 100644 --- a/hooks/writer/writer_test.go +++ b/hooks/writer/writer_test.go @@ -14,6 +14,7 @@ func TestDifferentLevelsGoToDifferentWriters(t *testing.T) { log.SetFormatter(&log.TextFormatter{ DisableTimestamp: true, + DisableColors: true, }) log.SetOutput(ioutil.Discard) // Send all logs to nowhere by default