Fix some test conditions
This commit is contained in:
@@ -14,6 +14,7 @@ func TestDifferentLevelsGoToDifferentWriters(t *testing.T) {
|
|||||||
|
|
||||||
log.SetFormatter(&log.TextFormatter{
|
log.SetFormatter(&log.TextFormatter{
|
||||||
DisableTimestamp: true,
|
DisableTimestamp: true,
|
||||||
|
DisableColors: true,
|
||||||
})
|
})
|
||||||
log.SetOutput(ioutil.Discard) // Send all logs to nowhere by default
|
log.SetOutput(ioutil.Discard) // Send all logs to nowhere by default
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user