Documentation
¶
Index ¶
Constants ¶
View Source
const ( LogHookTypeKey = "type" LogHookLevelsKey = "levels" LogHooksKey = "log.hooks" LogHookMailApplicationNameKey = "application_name" LogHookMailHostKey = "host" LogHookMailPortKey = "port" LogHookMailFromKey = "from" LogHookMailToKey = "to" LogHookMailUsernameKey = "username" LogHookMailPasswordKey = "password" LogHookTelegramAPIKey = "telegram_api_key" LogHookTelegramChatID = "telegram_chat_id" LogHookTelegramDisNotifications = "telegram_disable_notifications" )
View Source
const ( LogLevelKey = "log.level" LogTimezoneKey = "log.timezone" LogFormatterTypeKey = "log.formatter.type" LogTimestampFormatKey = "log.formatter.timestamp_format" LogOutputTypeKey = "log.output.type" LogOutputFilePatternKey = "log.output.file_pattern" LogOutputCurrentLinkKey = "log.output.current_link" LogMaxSizeKey = "log.output.max_size_in_mb" LogMaxAgeKey = "log.output.max_age_in_days" LogRotationCountKey = "log.output.rotation_count" )
Variables ¶
View Source
var InvalidMailHookConf = errors.New("unable to create instance of mail auth hook: invalid configuration")
View Source
var InvalidTelegramBotHookConf = errors.New("unable to create instance of telegram bot hook: invalid configuration")
View Source
var NoLevelsSpecifiedError = errors.New("no levels in hook config")
Functions ¶
func Initialize ¶
func Initialize()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.