Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DoNewsCode/core
/ Err
Method
Err
logging/log.go:196–198 ·
view source on GitHub ↗
(args ...interface{})
Source
from the content-addressed store, hash-verified
194
}
195
196
func
(l levelLogger) Err(args ...
interface
{}) {
197
_ = level.Error(l).Log(
"msg"
, Sprint(args...))
198
}
199
200
// WithLevel decorates the logger and returns a contract.LevelLogger.
201
//
Callers
nothing calls this directly
Calls
3
Sprint
Function · 0.85
Log
Method · 0.80
Error
Method · 0.45
Tested by
no test coverage detected