Errorf prints warning message according to a format
(format string, args ...interface{})
| 66 | |
| 67 | // Errorf prints warning message according to a format |
| 68 | func Errorf(format string, args ...interface{}) { |
| 69 | s := fmt.Sprintf(format, args...) |
| 70 | errorLogger.Output(outputCallDepth, mask(s)) // nolint |
| 71 | } |
| 72 | |
| 73 | // ErrorWithCallDepth prints err into error log using the given callDepth. |
| 74 | func ErrorWithCallDepth(err error, callDepth int) { |
no test coverage detected