Documentation ¶
Index ¶
- func Rotates(backend *backends.FileBackend, options ...logrotate.Options)
- type LogLevel
- type LoggingConfig
- type ModuleLoggingBackendConfig
- type ModuleLoggingConfig
- func (this ModuleLoggingConfig) Backend() (results []logging.BackendCloser)
- func (this ModuleLoggingConfig) BackendPrinter() (results []logging.BackendPrintCloser)
- func (this ModuleLoggingConfig) ErrBackend() (results []logging.BackendCloser)
- func (this ModuleLoggingConfig) ErrBackendPrinter() (results []logging.BackendPrintCloser)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LoggingConfig ¶
type LoggingConfig struct { LogLevel `yaml:",inline"` Modules []ModuleLoggingConfig }
type ModuleLoggingConfig ¶
type ModuleLoggingConfig struct { LogLevel `yaml:",inline"` Name string Backends []ModuleLoggingBackendConfig `yaml:"backends"` ErrBackends []ModuleLoggingBackendConfig `yaml:"err_backends" mapstructure:"err_backends"` Options map[string]interface{} }
func (ModuleLoggingConfig) Backend ¶
func (this ModuleLoggingConfig) Backend() (results []logging.BackendCloser)
func (ModuleLoggingConfig) BackendPrinter ¶
func (this ModuleLoggingConfig) BackendPrinter() (results []logging.BackendPrintCloser)
func (ModuleLoggingConfig) ErrBackend ¶
func (this ModuleLoggingConfig) ErrBackend() (results []logging.BackendCloser)
func (ModuleLoggingConfig) ErrBackendPrinter ¶
func (this ModuleLoggingConfig) ErrBackendPrinter() (results []logging.BackendPrintCloser)
Click to show internal directories.
Click to hide internal directories.