Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeLogger ¶
func MakeLogger(tb testing.TB) log.FieldLogger
MakeLogger creates a log.FieldLogger that routes to tb.Log.
func NewLoggerEntry ¶
NewLoggerEntry returns a new logger entry instance.
Types ¶
type MockedFieldLogger ¶
type MockedFieldLogger struct {
Logger *mocks.MockFieldLogger
}
MockedFieldLogger supplies a mocked library for testing logs.
func NewMockedFieldLogger ¶
func NewMockedFieldLogger(ctrl *gomock.Controller) *MockedFieldLogger
NewMockedFieldLogger returns a instance of FieldLogger for testing.
Click to show internal directories.
Click to hide internal directories.