Documentation ¶
Index ¶
- Constants
- Variables
- func ConfigLogging(conf *viper.Viper) error
- func ConfigLoggingBackend(conf *viper.Viper) error
- func ConfigLoggingFormat(conf *viper.Viper) error
- func ConfigLoggingLevel(conf *viper.Viper) error
- func SetLoggingBackend(out string) error
- func SetLoggingFormat(format string) error
- func SetLoggingLevel(level string, debug bool) error
Constants ¶
View Source
const ( DefaultLoggerName = "RQ" DefaultLogTimeFormat = "2006-01-02 15:04:05" DefaultLogLevel = "debug" DefaultLogOut = "stderr" DefaultLogFormat = `[%{time:` + DefaultLogTimeFormat + `}] [%{module}] [%{level}] %{message}` )
Default TODO
Variables ¶
View Source
var Logger *logging.Logger = logging.MustGetLogger(rootLoggerName)
Logger TODO
Functions ¶
func ConfigLoggingBackend ¶
ConfigLoggingBackend TODO
func ConfigLoggingFormat ¶
ConfigLoggingFormat TODO
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.