Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CaptureLogs ¶
func CaptureLogs(f func()) []string
CaptureLogs captures all logger output done during callback execution
func NewLoggerCapture ¶
func NewLoggerCapture(messages *[]string) seelog.LoggerInterface
NewLoggerCapture creates logger logs to given array of messages
func ReplaceLogger ¶
func ReplaceLogger(loggerNew seelog.LoggerInterface) (loggerOld seelog.LoggerInterface)
ReplaceLogger replaces by disposing logger that was previously used
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.