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

Method Errw

logging/log.go:179–182  ·  view source on GitHub ↗
(s string, fields ...interface{})

Source from the content-addressed store, hash-verified

177}
178
179func (l levelLogger) Errw(s string, fields ...interface{}) {
180 m := append(fields, "msg", s)
181 _ = level.Error(l).Log(m...)
182}
183
184func (l levelLogger) Debug(args ...interface{}) {
185 _ = level.Debug(l).Log("msg", Sprint(args...))

Callers

nothing calls this directly

Calls 2

LogMethod · 0.80
ErrorMethod · 0.45

Tested by

no test coverage detected