feat: switch agent to a periodic dump rather than long running process

This commit is contained in:
Aarnav Tale
2026-03-27 13:19:16 -04:00
parent 2c57187628
commit ee59a2d06d
17 changed files with 521 additions and 464 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ func (l *Logger) SetDebug(enabled bool) {
func (l *Logger) log(level LogLevel, format string, v ...any) {
msg := fmt.Sprintf(format, v...)
fmt.Printf("LOG %s %s\n", level, msg)
fmt.Fprintf(os.Stderr, "LOG %s %s\n", level, msg)
if level == LevelFatal {
os.Exit(1)
}