Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TestTimeout   = 10 * time.Minute
	TestSlowRun   = 10 * time.Second
	TestSlowFlush = 1 * time.Second
)
View Source
var WriterCloser = &testLoggerWriterCloser{}

Functions

func Fatalf added in v1.23.0

func Fatalf(format string, args ...any)

func Init added in v1.23.0

func Init()

func PrintCurrentTest

func PrintCurrentTest(t testing.TB, skip ...int) func()

PrintCurrentTest prints the current test to os.Stdout

func Printf

func Printf(format string, args ...any)

Printf takes a format and args and prints the string to os.Stdout

Types

type TestLogEventWriter

type TestLogEventWriter struct {
	*log.EventWriterBaseImpl
}

TestLogEventWriter is a logger which will write to the testing log

?: This menu
/: Search site
f or F: Jump to
y or Y: Canonical URL