LogDebugf prints a formatted log message if DEBUG_LOG=1
(msg string, vars ...interface{})
| 34 | |
| 35 | // LogDebugf prints a formatted log message if DEBUG_LOG=1 |
| 36 | func LogDebugf(msg string, vars ...interface{}) { |
| 37 | if DebugLoggingEnabled { |
| 38 | log.Printf(strings.Join([]string{"[DEBUG]", msg}, " "), vars...) |
| 39 | } |
| 40 | } |
| 41 | |
| 42 | /* |
| 43 | StubCommandLineArgs overrides command arguments to allow flag-based branches |
no outgoing calls