Documentation
¶
Index ¶
- func AssertJSON(t *testing.T, act, exp string)
- func TestDebug(b *bytes.Buffer, l watermill.LoggerAdapter) func(t *testing.T)
- func TestDebugDisabled(b *bytes.Buffer, l watermill.LoggerAdapter) func(t *testing.T)
- func TestDebugFields(b *bytes.Buffer, l watermill.LoggerAdapter) func(t *testing.T)
- func TestError(b *bytes.Buffer, l watermill.LoggerAdapter) func(t *testing.T)
- func TestErrorFields(b *bytes.Buffer, l watermill.LoggerAdapter) func(t *testing.T)
- func TestInfo(b *bytes.Buffer, l watermill.LoggerAdapter) func(t *testing.T)
- func TestInfoFields(b *bytes.Buffer, l watermill.LoggerAdapter) func(t *testing.T)
- func TestLogger(t *testing.T, newLogger NewFunc)
- func TestTrace(b *bytes.Buffer, l watermill.LoggerAdapter) func(t *testing.T)
- func TestTraceDisabled(b *bytes.Buffer, l watermill.LoggerAdapter) func(t *testing.T)
- func TestTraceFields(b *bytes.Buffer, l watermill.LoggerAdapter) func(t *testing.T)
- func TestWith(b *bytes.Buffer, l watermill.LoggerAdapter) func(t *testing.T)
- type NewFunc
- type Opts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertJSON ¶
AssertJSON asserts that two input strings are the same JSON value
func TestDebugDisabled ¶
func TestDebugFields ¶
func TestErrorFields ¶
func TestInfoFields ¶
func TestLogger ¶
func TestTraceDisabled ¶
func TestTraceFields ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.