package main import ( "fmt" "log" ) func logf(level, format string, args ...any) { log.Printf("[%s] %s", level, fmt.Sprintf(format, args...)) }