Debug logs debug information
(msg string, args ...interface{})
| 79 | |
| 80 | // Debug logs debug information |
| 81 | func (m *Messenger) Debug(msg string, args ...interface{}) { |
| 82 | if m.Quiet || !m.IsDebugging { |
| 83 | return |
| 84 | } |
| 85 | prefix := "[DEBUG]\t" |
| 86 | m.Msg(prefix+msg, args...) |
| 87 | } |
| 88 | |
| 89 | // Debug logs debug information using the Default Messenger |
| 90 | func Debug(msg string, args ...interface{}) { |
no test coverage detected