(msg string, args ...interface{})
| 88 | } |
| 89 | |
| 90 | func (m *Messenger) Debug(msg string, args ...interface{}) { |
| 91 | if !DebugEnable { |
| 92 | return |
| 93 | } |
| 94 | m.Msg("[DEBUG]\t"+msg, args...) |
| 95 | } |
| 96 | |
| 97 | func (m *Messenger) Die(msg string, args ...interface{}) { |
| 98 | m.Err(msg, args...) |