Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Exclusions ¶
type Exclusions struct {
// Headers to exclude from request logging. Defaults include:
//
// - "Accept"
// - "Accept-Encoding"
// - "Accept-Language"
// - "Connection"
// - "Content-Length"
// - "Content-Type"
// - "Upgrade-Insecure-Requests"
// - "Sec-Fetch-Mode"
// - "Sec-Fetch-Site"
// - "Sec-Fetch-Resource"
// - "Sec-Fetch-User"
// - "Sec-Fetch-Dest"
// - "User-Agent"
Headers []string
}
type Flag ¶
type Flag[Value interface{}] interface {
// Set will configure the given Setting implementation's logging flag.
Set(v Value)
// Value returns the implementation's value reference.
Value() Value
}
Flag represents a given logging Option's value(s).
type Logs ¶
type Logs struct {
Exclusions Exclusions
}
Click to show internal directories.
Click to hide internal directories.