> Any feedback is much appreciated.
There is way too much going on in this code whose feature essentially boils down to
func Printf(f string, v ...any) { if CONDITION { fmt.Printf(f, v...) } }