MCPcopy Create free account
hub / github.com/DoNewsCode/core / Warnf

Method Warnf

logging/log.go:156–158  ·  view source on GitHub ↗
(s string, i ...interface{})

Source from the content-addressed store, hash-verified

154}
155
156func (l levelLogger) Warnf(s string, i ...interface{}) {
157 _ = level.Warn(l).Log("msg", Sprintf(s, i...))
158}
159
160func (l levelLogger) Errf(s string, i ...interface{}) {
161 _ = level.Error(l).Log("msg", Sprintf(s, i...))

Callers

nothing calls this directly

Calls 3

SprintfFunction · 0.85
LogMethod · 0.80
WarnMethod · 0.65

Tested by

no test coverage detected