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

Method Warn

pkg/utils/log/log.go:259–266  ·  view source on GitHub ↗
(v ...interface{})

Source from the content-addressed store, hash-verified

257}
258
259func (l *Logger) Warn(v ...interface{}) {
260 t := TYPE_WARN
261 if l.isDisabled(t) {
262 return
263 }
264 s := fmt.Sprint(v...)
265 l.output(1, nil, t, s)
266}
267
268func (l *Logger) Warnf(format string, v ...interface{}) {
269 t := TYPE_WARN

Callers

nothing calls this directly

Calls 2

isDisabledMethod · 0.95
outputMethod · 0.95

Tested by

no test coverage detected