HookOption a hook parameter options
func(*hookOptions)
| 40 | |
| 41 | // HookOption a hook parameter options |
| 42 | type HookOption func(*hookOptions) |
| 43 | |
| 44 | // Creates a hook to be added to an instance of logger |
| 45 | func NewHook(exec HookExecuter, opt ...HookOption) *Hook { |
nothing calls this directly
no outgoing calls
no test coverage detected