Printf logs a debug message if debug mode is enabled.
(format string, v ...any)
| 24 | |
| 25 | // Printf logs a debug message if debug mode is enabled. |
| 26 | func Printf(format string, v ...any) { |
| 27 | if enabled.Load() { |
| 28 | log.Printf("[DEBUG] "+format, v...) |
| 29 | } |
| 30 | } |
no outgoing calls
no test coverage detected