Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
Config is the main config mega-struct
func NewDefaultConfig ¶
func NewDefaultConfig() *Config
func (*Config) IsDebugEnabled ¶
func (*Config) IsVerboseOrHigher ¶
IsVerboseOrHigher returns 1 if the log level is verbose or higher
func (*Config) SetLoggerLevel ¶
func (cfg *Config) SetLoggerLevel()
type LogSourceConfig ¶
type LogSourceConfig struct { LogConnectionStats bool LogRequestHeaders bool LogRequestBody bool LogResponseHeaders bool LogResponseBody bool }
LogSourceConfig holds the configuration toggles for logging request and response data
func (*LogSourceConfig) String ¶
func (l *LogSourceConfig) String() string
Click to show internal directories.
Click to hide internal directories.