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

Method Errf

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

Source from the content-addressed store, hash-verified

158}
159
160func (l levelLogger) Errf(s string, i ...interface{}) {
161 _ = level.Error(l).Log("msg", Sprintf(s, i...))
162}
163
164func (l levelLogger) Debugw(s string, fields ...interface{}) {
165 m := append(fields, "msg", s)

Callers

nothing calls this directly

Calls 3

SprintfFunction · 0.85
LogMethod · 0.80
ErrorMethod · 0.45

Tested by

no test coverage detected