MCPcopy
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
138type ErrorHook struct {
139 Fired bool
140}
141
142func (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