Documentation
¶
Overview ¶
Package testlog context aware github.com/sirkon/errors.Error logging in tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Check ¶
func Check(t TestingPrinter, err error) bool
Check do nothing and return false if error is nil. Prints error and return true otherwise.
Types ¶
type TestLog ¶ added in v0.1.0
type TestLog struct {
// contains filtered or unexported fields
}
TestLog logger with stored TestingPrinter.
type TestingPrinter ¶
TestingPrinter wrapper over *testing.T to print data
Click to show internal directories.
Click to hide internal directories.