boulder
boulder copied to clipboard
log: Debugf and similar functions call Sprintf unconditionally
We could save some computation, particularly for Debugf, if we check the log level before doing the string formatting. If we're not emitting DEBUG logs, no reason to generate strings for them.