Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = fx.Options( fx.Invoke(ConfigureLogging), fx.Provide(func() zerolog.Logger { return log.Logger }), )
nolint
Functions ¶
func ConfigureLogging ¶
func ConfigureLogging(conf config.LoggingConfig)
ConfigureLogging uses the given conf to configure the global log.Logger variable.
Types ¶
type SyslogLevel ¶
type SyslogLevel int8
SyslogLevel defines syslog log levels.
const ( Emergency SyslogLevel = iota Alert Critical Error Warning Notice Informational Debugging )
Click to show internal directories.
Click to hide internal directories.