Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrSkipperNil = errors.New("skipper is nil") ErrLoggerIsNil = errors.New("logger is nil") )
Functions ¶
Types ¶
type Option ¶
type Option interface {
// contains filtered or unexported methods
}
func Skipper ¶
func Skipper(sk middleware.Skipper) Option
Skipper lets you use the skipper of your choice.
func WithFormValues ¶
WithFormValues lets you choose which form values you want added to the log entry.
func WithHeaders ¶
WithHeaders lets you choose which headers you want added to the log entry.
func WithQueryParams ¶
WithQueryParams lets you choose which query params you want added to the log entry.
Click to show internal directories.
Click to hide internal directories.