Run runs the hook with the event.
(e *Event, level Level, message string)
| 4 | type Hook interface { |
| 5 | // Run runs the hook with the event. |
| 6 | Run(e *Event, level Level, message string) |
| 7 | } |
| 8 | |
| 9 | // HookFunc is an adaptor to allow the use of an ordinary function |
no outgoing calls