Documentation ¶
Overview ¶
Package seelog provides the configuration for the logger
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
Config abstracts seelog XML configuration definition
func NewSeelogConfig ¶
NewSeelogConfig returns a SeelogConfig filled with correct parameters
func (*Config) ConfigureSyslog ¶
ConfigureSyslog enables and configures syslog if the syslogURI it not an empty string
func (*Config) EnableConsoleLog ¶
EnableConsoleLog sets enable or disable console logging depending on the parameter value
func (*Config) EnableFileLogging ¶
EnableFileLogging enables and configures file logging if the filename is not empty
func (*Config) SetLogLevel ¶
SetLogLevel configures the loglevel
Click to show internal directories.
Click to hide internal directories.