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

@ -430,9 +430,9 @@ func (l *Logger) applyConfig(cfg *Config) error {
}
// Setup stdout writer based on config
if cfg.EnableStdout {
if cfg.EnableConsole {
var writer io.Writer
if cfg.StdoutTarget == "stderr" {
if cfg.ConsoleTarget == "stderr" {
writer = os.Stderr
} else {
writer = os.Stdout