Documentation ¶
Overview ¶
Package logging provides log interface.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigureLogger ¶
func ConfigureLogger(testConfig []byte)
ConfigureLogger configures the new logger according to the configuration and sets it as the current logger.
func FlushLog ¶
func FlushLog()
FlushLog is a wrapper for seelog's Flush function. It flushes all the messages in the logger.
func Logger ¶
func Logger() seelog.LoggerInterface
Logger returns internal logger object to achieve logging.
func UseLogger ¶
func UseLogger(newLogger seelog.LoggerInterface)
UseLogger is a wrapper for Seelog's UseLogger function. It sets the newLogger as the current logger.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.