Warnf logs a formatted error message
(format string, a ...interface{})
| 61 | |
| 62 | // Warnf logs a formatted error message |
| 63 | func Errorf(format string, a ...interface{}) { |
| 64 | logger.Error(aurora.Red(emoji.Sprintf(":exclamation: "+format, a...))) |
| 65 | } |
| 66 | |
| 67 | // Info formatter is to not display the LOG_LEVEL in front of the command eg. INFO[2020-070-01T15:22:22] Hello World |
| 68 | type InfoFormatter struct { |
no test coverage detected