LevelHook applies a different hook for each level.
| 17 | |
| 18 | // LevelHook applies a different hook for each level. |
| 19 | type LevelHook struct { |
| 20 | NoLevelHook, TraceHook, DebugHook, InfoHook, WarnHook, ErrorHook, FatalHook, PanicHook Hook |
| 21 | } |
| 22 | |
| 23 | // Run implements the Hook interface. |
| 24 | func (h LevelHook) Run(e *Event, level Level, message string) { |
nothing calls this directly
no outgoing calls
no test coverage detected