Debugf prints debug message according to a format
(format string, args ...interface{})
| 51 | |
| 52 | // Debugf prints debug message according to a format |
| 53 | func Debugf(format string, args ...interface{}) { |
| 54 | if atomic.LoadUint32(&debug) == 0 { |
| 55 | return |
| 56 | } |
| 57 | s := fmt.Sprintf(format, args...) |
| 58 | debugLogger.Output(outputCallDepth, mask(s)) // nolint |
| 59 | } |
| 60 | |
| 61 | // Infof prints info message according to a format |
| 62 | func Infof(format string, args ...interface{}) { |
no test coverage detected