Documentation ¶
Index ¶
- func LogCase(target logcommon.TestingLogger, name string)
- func NewTestLoggerWithErrorFilter(target logcommon.TestingLogger, filterFn logcommon.ErrorFilterFunc) log.Logger
- func SetTestOutput(target logcommon.TestingLogger)
- func SetTestOutputWithCfg(target logcommon.TestingLogger, cfg configuration.Log)
- func SetTestOutputWithErrorFilter(target logcommon.TestingLogger, filterFn logcommon.ErrorFilterFunc)
- func SetTestOutputWithIgnoreAllErrors(target logcommon.TestingLogger)
- func SetTestOutputWithStub() (teardownFn func(pass bool))
- func TestContext(target logcommon.TestingLogger) context.Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LogCase ¶
func LogCase(target logcommon.TestingLogger, name string)
func NewTestLoggerWithErrorFilter ¶
func NewTestLoggerWithErrorFilter(target logcommon.TestingLogger, filterFn logcommon.ErrorFilterFunc) log.Logger
func SetTestOutput ¶
func SetTestOutput(target logcommon.TestingLogger)
func SetTestOutputWithCfg ¶
func SetTestOutputWithCfg(target logcommon.TestingLogger, cfg configuration.Log)
func SetTestOutputWithErrorFilter ¶
func SetTestOutputWithErrorFilter(target logcommon.TestingLogger, filterFn logcommon.ErrorFilterFunc)
func SetTestOutputWithIgnoreAllErrors ¶
func SetTestOutputWithIgnoreAllErrors(target logcommon.TestingLogger)
deprecated
func SetTestOutputWithStub ¶
func SetTestOutputWithStub() (teardownFn func(pass bool))
func TestContext ¶
func TestContext(target logcommon.TestingLogger) context.Context
TestContext returns context with initialized log field "testname" equal t.Name() value.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.