Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Initialize ¶
func Initialize() error
Initialize initializes the global Logrus logger, reading the desired log level from the viper store, or using a default if the level has not been set in viper.
It also sets the output to log.outputSplitter, so you get error logs on stderr and normal logs on stdout.
If syslog settings are also in viper, then Syslog will be initialized as well.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.