Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( SlowTest = 10 * time.Second SlowFlush = 5 * time.Second )
View Source
var WriterCloser = &testLoggerWriterCloser{}
Functions ¶
func NewTestLoggerWriter ¶
func NewTestLoggerWriter(name string, mode log.WriterMode) log.EventWriter
NewTestLoggerWriter creates a TestLogEventWriter as a log.LoggerProvider
func PrintCurrentTest ¶
PrintCurrentTest prints the current test to os.Stdout
Types ¶
type TestLogEventWriter ¶
type TestLogEventWriter struct {
*log.EventWriterBaseImpl
}
TestLogEventWriter is a logger which will write to the testing log
Click to show internal directories.
Click to hide internal directories.