MCPcopy
hub / github.com/CodisLabs/codis / Errorf

Method Errorf

pkg/utils/log/log.go:232–239  ·  view source on GitHub ↗
(format string, v ...interface{})

Source from the content-addressed store, hash-verified

230}
231
232func (l *Logger) Errorf(format string, v ...interface{}) {
233 t := TYPE_ERROR
234 if l.isDisabled(t) {
235 return
236 }
237 s := fmt.Sprintf(format, v...)
238 l.output(1, nil, t, s)
239}
240
241func (l *Logger) ErrorError(err error, v ...interface{}) {
242 t := TYPE_ERROR

Callers 15

replaceUnspecifiedIPFunction · 0.80
NewRollingFileFunction · 0.80
ErrorfFunction · 0.80
responseBodyAsErrorFunction · 0.80
apiRequestJsonFunction · 0.80
InfoFullMethod · 0.80
MigrateSlotMethod · 0.80
MigrateSlotAsyncMethod · 0.80
SlotsInfoMethod · 0.80
RoleMethod · 0.80
subscribeCommandMethod · 0.80
MastersMethod · 0.80

Calls 2

isDisabledMethod · 0.95
outputMethod · 0.95

Tested by

no test coverage detected