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

Method Warnf

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

Source from the content-addressed store, hash-verified

266}
267
268func (l *Logger) Warnf(format string, v ...interface{}) {
269 t := TYPE_WARN
270 if l.isDisabled(t) {
271 return
272 }
273 s := fmt.Sprintf(format, v...)
274 l.output(1, nil, t, s)
275}
276
277func (l *Logger) WarnError(err error, v ...interface{}) {
278 t := TYPE_WARN

Callers 15

fillSlotMethod · 0.80
NewFunction · 0.80
SetSentinelsMethod · 0.80
RewatchSentinelsMethod · 0.80
serveAdminMethod · 0.80
serveProxyMethod · 0.80
newApiServerFunction · 0.80
LogLevelMethod · 0.80
CloseMethod · 0.80
RewatchMethod · 0.80
KeepAliveMethod · 0.80
runMethod · 0.80

Calls 2

isDisabledMethod · 0.95
outputMethod · 0.95

Tested by

no test coverage detected