ErrorWithCallDepth prints err into error log using the given callDepth.
(err error, callDepth int)
| 72 | |
| 73 | // ErrorWithCallDepth prints err into error log using the given callDepth. |
| 74 | func ErrorWithCallDepth(err error, callDepth int) { |
| 75 | s := err.Error() |
| 76 | errorLogger.Output(outputCallDepth+callDepth, mask(s)) //nolint |
| 77 | } |
| 78 | |
| 79 | // Fatalf prints fatal message according to a format and exits program |
| 80 | func Fatalf(format string, args ...interface{}) { |
no test coverage detected