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

Function Warnf

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

Source from the content-addressed store, hash-verified

510}
511
512func Warnf(format string, v ...interface{}) {
513 t := TYPE_WARN
514 if StdLog.isDisabled(t) {
515 return
516 }
517 s := fmt.Sprintf(format, v...)
518 StdLog.output(1, nil, t, s)
519}
520
521func WarnError(err error, v ...interface{}) {
522 t := TYPE_WARN

Callers

nothing calls this directly

Calls 2

isDisabledMethod · 0.80
outputMethod · 0.80

Tested by

no test coverage detected