You can declare a func "print" in each package which just calls the real print
func. When you want to turn off printing, you just have one line to comment out
in that func to affect all callers.
I'm curious why fmt.Printf doesn't work for you, though. In that case you'd
still probably want a
I know using of builtin print is not encouraged, but it's convenient, and
I've sprinted it all over my code.
Now debugging is over, I need to disable all the builtin prints. Is there
any easy way to toggle the printing on and off, so that I can enable
debugging any time in the future? I've