Error is a short cut function that uses package initialized logger and error log
(message string)
| 41 | |
| 42 | // Error is a short cut function that uses package initialized logger and error log |
| 43 | func Error(message string) { |
| 44 | Log.Error(message) |
| 45 | return |
| 46 | } |
| 47 | |
| 48 | func Errorf(format string, a ...interface{}) { |
| 49 | Log.Error(fmt.Sprintf(format, a...)) |