e3.1.2 Changed output stdout to console for clarity.

This commit is contained in:
2025-09-29 04:47:48 -04:00
parent 2234123f59
commit d58b61067f
11 changed files with 149 additions and 41 deletions

View File

@ -22,7 +22,7 @@ func TestFullLifecycle(t *testing.T) {
Format("json").
MaxSizeKB(1).
BufferSize(1000).
EnableStdout(false).
EnableConsole(false).
HeartbeatLevel(1).
HeartbeatIntervalS(2).
Build()
@ -60,7 +60,7 @@ func TestFullLifecycle(t *testing.T) {
logger.InfoTrace(2, "trace info")
// Apply runtime override
err = logger.ApplyConfigString("enable_stdout=true", "stdout_target=stderr")
err = logger.ApplyConfigString("enable_console=true", "console_target=stderr")
require.NoError(t, err)
// More logging after reconfiguration