mirror of https://github.com/sirupsen/logrus.git
Fix some test conditions
This commit is contained in:
parent
d8e3add56f
commit
470f2e08fc
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue