Warn logs a warning
(msg string, args ...interface{})
| 93 | |
| 94 | // Warn logs a warning |
| 95 | func (m *Messenger) Warn(msg string, args ...interface{}) { |
| 96 | prefix := m.Color(Yellow, "[WARN]\t") |
| 97 | m.Msg(prefix+msg, args...) |
| 98 | } |
| 99 | |
| 100 | // Warn logs a warning using the Default Messenger |
| 101 | func Warn(msg string, args ...interface{}) { |
no test coverage detected