Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/sirupsen/logrus
/ ErrorHook
Struct
ErrorHook
hook_test.go:138–140 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
136
}
137
138
type
ErrorHook
struct
{
139
Fired bool
140
}
141
142
func
(hook *ErrorHook) Fire(entry *Entry) error {
143
hook.Fired = true
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected