v0.1.6 fix to formatter and sanitizer for async use, doc update
This commit is contained in:
+2
-3
@@ -68,8 +68,6 @@ func TestLoggerFormatterIntegration(t *testing.T) {
|
||||
err = logger.Flush(time.Second)
|
||||
require.NoError(t, err)
|
||||
|
||||
time.Sleep(50 * time.Millisecond)
|
||||
|
||||
content, err := os.ReadFile(filepath.Join(tmpDir, "log.log"))
|
||||
require.NoError(t, err)
|
||||
|
||||
@@ -158,4 +156,5 @@ func TestRawSanitizedOutputWithFormatter(t *testing.T) {
|
||||
}, " ")
|
||||
|
||||
assert.Equal(t, expectedOutput, logOutput)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user