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

Method WarnError

pkg/utils/log/log.go:277–284  ·  view source on GitHub ↗
(err error, v ...interface{})

Source from the content-addressed store, hash-verified

275}
276
277func (l *Logger) WarnError(err error, v ...interface{}) {
278 t := TYPE_WARN
279 if l.isDisabled(t) {
280 return
281 }
282 s := fmt.Sprint(v...)
283 l.output(1, err, t, s)
284}
285
286func (l *Logger) WarnErrorf(err error, format string, v ...interface{}) {
287 t := TYPE_WARN

Callers

nothing calls this directly

Calls 2

isDisabledMethod · 0.95
outputMethod · 0.95

Tested by

no test coverage detected