Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitLogger ¶
func InitLogger()
InitLogger initializes the logger. If the log-format is not specified, it will default to JSON if the output is not a terminal. Required viper variables: log-format as string and debug as bool
func InitLoggerWithConfig ¶
func InitLoggerWithConfig(cfg Config)
InitLoggerWithConfig initializes the logger with the specified configuration.
Types ¶
Click to show internal directories.
Click to hide internal directories.