Documentation ¶
Index ¶
Constants ¶
View Source
const ( JSONLogFormat = "json" TextLogFormat = "text" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Log LogConfig SSHRecorder SSHRecorderConfig Loghead LogheadConfig }
func LoadConfig ¶
type FileLoggerConfig ¶
func GetFileLoggerConfig ¶
func GetFileLoggerConfig() FileLoggerConfig
type ForwardingConfig ¶
func GetForwardingConfig ¶
func GetForwardingConfig() ForwardingConfig
type ListenerConfig ¶
func GetListenerConfig ¶
func GetListenerConfig(base string) ListenerConfig
type LogConfig ¶
func GetLogConfig ¶
func GetLogConfig() LogConfig
type LogheadConfig ¶
type LogheadConfig struct { Processors ProcessorConfig Listener ListenerConfig }
func GetLogheadConfig ¶
func GetLogheadConfig() LogheadConfig
type ProcessorConfig ¶
type ProcessorConfig struct { FileLogger FileLoggerConfig Metrics bool Hostinfo bool Forward ForwardingConfig }
func GetProcessorConfig ¶
func GetProcessorConfig() ProcessorConfig
type SSHRecorderConfig ¶
type SSHRecorderConfig struct { Dir string Listener ListenerConfig }
func GetSSHRecorderConfig ¶
func GetSSHRecorderConfig() SSHRecorderConfig
Click to show internal directories.
Click to hide internal directories.