Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
LogConsoleDisabled bool `json:"log.console.disabled,omitempty" yaml:"log.console.disabled,omitempty"`
LogConsoleFormat string `json:"log.console.format,omitempty" yaml:"log.console.format,omitempty" `
LogConsoleLevel level.Level `json:"log.console.level" yaml:"log.console.level" `
LogFileEnabled bool `json:"log.file.enabled" yaml:"log.file.enabled" `
LogFileFormat string `json:"log.file.format,omitempty" yaml:"log.file.format,omitempty" `
LogFileLevel level.Level `json:"log.file.level" yaml:"log.file.level" `
LogFileFilename string `json:"log.file.filename" yaml:"log.file.filename" `
LogFileMaxSize int `json:"log.file.max_size,omitempty" yaml:"log.file.max_size,omitempty" `
LogFileMaxAge int `json:"log.file.max_age,omitempty" yaml:"log.file.max_age,omitempty" `
LogFileMaxBackups int `json:"log.file.max_backups,omitempty" yaml:"log.file.max_backups,omitempty"`
LogFileDailyRotate bool `json:"log.file.daily_rotate" yaml:"log.file.daily_rotate" `
}
Click to show internal directories.
Click to hide internal directories.