Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppenderType ¶
type AppenderType string
AppenderType identifies nature of logs
const ( Console AppenderType = "console" File AppenderType = "file" )
type ConsoleBasedConf ¶
type ConsoleBasedConf struct {
EnableDebug bool `json:"enable_debug"`
}
type DMuxLogging ¶
type DMuxLogging struct {
EnableDebug bool `json:"enable_debug"`
}
DMuxLogging logging
type FileBasedConf ¶
type FileBasedConf struct { Path string `json:"path"` EnableDebug bool `json:"enable_debug"` Rotate RotateConf `json:"rotation"` }
type LogConf ¶
type LogConf struct { Type AppenderType `json:"type"` Config interface{} `json:"config"` }
LogConf holds logging configuration
Click to show internal directories.
Click to hide internal directories.