v0.1.4 formatter race fix, fiber adapter added, default config changed, docs updated

This commit is contained in:
2025-11-17 16:33:08 -05:00
parent 4ed618abbb
commit 9b0a632b52
22 changed files with 797 additions and 56 deletions

View File

@ -24,6 +24,7 @@ func TestFullLifecycle(t *testing.T) {
MaxSizeKB(1).
BufferSize(1000).
EnableConsole(false).
EnableFile(true).
HeartbeatLevel(1).
HeartbeatIntervalS(2).
Build()
@ -129,6 +130,7 @@ func TestErrorRecovery(t *testing.T) {
// Use the builder to attempt creation with an invalid directory
logger, err := NewBuilder().
Directory("/root/cannot_write_here_without_sudo").
EnableFile(true).
Build()
assert.Error(t, err, "Should get an error for an invalid directory")