Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/sirupsen/logrus
/ ErrorFn
Method
ErrorFn
logger.go:282–284 ·
view source on GitHub ↗
(fn LogFunction)
Source
from the content-addressed store, hash-verified
280
}
281
282
func
(logger *Logger) ErrorFn(fn LogFunction) {
283
logger.LogFn(ErrorLevel, fn)
284
}
285
286
func
(logger *Logger) FatalFn(fn LogFunction) {
287
logger.LogFn(FatalLevel, fn)
Callers
2
TestLogger_LogFn
Function · 0.80
ErrorFn
Function · 0.80
Calls
1
LogFn
Method · 0.95
Tested by
1
TestLogger_LogFn
Function · 0.64