use stat instead of disableStat (#2740)

This commit is contained in:
Xargin
2023-01-03 11:29:24 +08:00
committed by GitHub
parent 20a61ce43e
commit 1c544a26be
3 changed files with 6 additions and 10 deletions

View File

@@ -794,11 +794,7 @@ func testSetLevelTwiceWithMode(t *testing.T, mode string, w *mockWriter) {
Mode: mode,
Level: "error",
Path: "/dev/null",
})
SetUp(LogConf{
Mode: mode,
Level: "info",
Path: "/dev/null",
Stat: false,
})
const message = "hello there"
Info(message)