Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultFatal = Fatal{ ExitCode: support.PInt(13), }
Functions ¶
This section is empty.
Types ¶
type Interceptor ¶
type Interceptor interface { OnBeforeLog(log.Event, log.Provider) (intercepted log.Event) OnAfterLog(log.Event, log.Provider) (canContinue bool) }
var Default Interceptor = Interceptors{}
func Noop ¶
func Noop() Interceptor
type Interceptors ¶
type Interceptors []Interceptor
func (Interceptors) OnAfterLog ¶
func (Interceptors) OnBeforeLog ¶
func (*Interceptors) With ¶
func (instance *Interceptors) With(v Interceptor) *Interceptors
Click to show internal directories.
Click to hide internal directories.