Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option func(config *defaultConfig)
func Append ¶
func Append(mw middleware.Middleware) Option
Append middleware to the chain. Defaults to raw and zerolog middleware.
func Fields ¶
Fields pass a map of attributes which are appended to all log messages and raw events.
func RawEnabled ¶
RawEnabled is a flag to toggle this middleware on or off. Defaults to true.
Click to show internal directories.
Click to hide internal directories.