Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Log = backendLog.Logger("EXPL")
)
Loggers per subsystem. A single backend logger is created and all subsytem loggers created from it will write to the backend. When adding new subsystems, add the subsystem logger variable here and to the subsystemLoggers map.
Loggers can not be used before the log rotator has been initialized with a log file. This must be performed early during application startup by calling initLogRotator.
Functions ¶
func InitLogRotator ¶
func InitLogRotator(logFile string)
InitLogRotator initializes the logging rotater to write logs to logFile and create roll files in the same directory. It must be called before the package-global log rotater variables are used.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.