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

Method ErrorErrorf

pkg/utils/log/log.go:250–257  ·  view source on GitHub ↗
(err error, format string, v ...interface{})

Source from the content-addressed store, hash-verified

248}
249
250func (l *Logger) ErrorErrorf(err error, format string, v ...interface{}) {
251 t := TYPE_ERROR
252 if l.isDisabled(t) {
253 return
254 }
255 s := fmt.Sprintf(format, v...)
256 l.output(1, err, t, s)
257}
258
259func (l *Logger) Warn(v ...interface{}) {
260 t := TYPE_WARN

Callers 15

serveAdminMethod · 0.80
serveProxyMethod · 0.80
newSharedBackendConnFunction · 0.80
unlockFsMethod · 0.80
reinitProxyMethod · 0.80
resyncSlotMappingsMethod · 0.80
refillCacheMethod · 0.80
storeCreateGroupMethod · 0.80
storeUpdateGroupMethod · 0.80
storeRemoveGroupMethod · 0.80
storeCreateProxyMethod · 0.80

Calls 2

isDisabledMethod · 0.95
outputMethod · 0.95

Tested by

no test coverage detected