MCPcopy Index your code
hub / github.com/apache/devlake / Warn

Method Warn

backend/impls/logruslog/logger.go:74–76  ·  view source on GitHub ↗
(err error, format string, a ...interface{})

Source from the content-addressed store, hash-verified

72}
73
74func (l *DefaultLogger) Warn(err error, format string, a ...interface{}) {
75 l.Log(log.LOG_WARN, formatMessage(err, format, a...))
76}
77
78func (l *DefaultLogger) Error(err error, format string, a ...interface{}) {
79 l.Log(log.LOG_ERROR, formatMessage(err, format, a...))

Callers

nothing calls this directly

Calls 2

LogMethod · 0.95
formatMessageFunction · 0.85

Tested by

no test coverage detected