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

Method InfoErrorf

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

Source from the content-addressed store, hash-verified

320}
321
322func (l *Logger) InfoErrorf(err error, format string, v ...interface{}) {
323 t := TYPE_INFO
324 if l.isDisabled(t) {
325 return
326 }
327 s := fmt.Sprintf(format, v...)
328 l.output(1, err, t, s)
329}
330
331func (l *Logger) Debug(v ...interface{}) {
332 t := TYPE_DEBUG

Callers

nothing calls this directly

Calls 2

isDisabledMethod · 0.95
outputMethod · 0.95

Tested by

no test coverage detected