v0.2.2 minor fixes

This commit is contained in:
2025-07-11 21:47:22 -04:00
parent 08c4df4d65
commit 66f9a92592
3 changed files with 12 additions and 7 deletions

View File

@ -87,11 +87,6 @@ func validateLogConfig(cfg *LogConfig) error {
return fmt.Errorf("invalid console target: %s", cfg.Console.Target)
}
// TODO: check if file output check is correct
if cfg.Console.Target == "split" && cfg.Output == "file" {
return fmt.Errorf("console target 'split' requires output mode 'stdout', 'stderr', or 'both'")
}
validFormats := map[string]bool{
"txt": true, "json": true, "": true,
}