Documentation ¶
Overview ¶
Package logging with logging configuration
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Logger *logrus.Logger
View Source
var ZapLogger *zap.Logger
Functions ¶
func InitLogrus ¶
InitLogrus initializes and returns the logrus logger
sets the logging level
sets the timeFormat to ISO8601 YYYY-MM-DDTHH:MM:SS.sss-TZ
optionally write all logging to file
write debug and info to stdout
write warning, error, fatal to stderr
levelName is the requested logging level: "error", "warning", "info", "debug" filename is the output log file full name including path
func SetLogging ¶
SetLogging initializes the global logger
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.