Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BackendLog = logger.NewBackend()
BackendLog is the logging backend used to create all subsystem loggers.
Functions ¶
func InitLog ¶
func InitLog(logFile, errLogFile string)
InitLog attaches log file and error log file to the backend log.
func Logger ¶
Logger returns a new logger for a particular subsystem that writes to BackendLog, and add it to a slice so it will be possible to access it later and change its log level
func SetLogLevels ¶
SetLogLevels sets the logging level for all of the subsystems in the server.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.