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

Function WarnErrorf

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

Source from the content-addressed store, hash-verified

528}
529
530func WarnErrorf(err error, format string, v ...interface{}) {
531 t := TYPE_WARN
532 if StdLog.isDisabled(t) {
533 return
534 }
535 s := fmt.Sprintf(format, v...)
536 StdLog.output(1, err, t, s)
537}
538
539func Info(v ...interface{}) {
540 t := TYPE_INFO

Callers

nothing calls this directly

Calls 2

isDisabledMethod · 0.80
outputMethod · 0.80

Tested by

no test coverage detected