Documentation ¶
Overview ¶
Package log is a generated GoMock package.
Index ¶
- type Body
- type MockProvider
- func (m *MockProvider) Debug(ctx context.Context, title string, valueMaps ...Body)
- func (m *MockProvider) EXPECT() *MockProviderMockRecorder
- func (m *MockProvider) Error(ctx context.Context, title string, valueMaps ...Body)
- func (m *MockProvider) Fatal(ctx context.Context, title string, valueMaps ...Body)
- func (m *MockProvider) Info(ctx context.Context, title string, valueMaps ...Body)
- func (m *MockProvider) Warn(ctx context.Context, title string, valueMaps ...Body)
- type MockProviderMockRecorder
- func (mr *MockProviderMockRecorder) Debug(ctx, title interface{}, valueMaps ...interface{}) *gomock.Call
- func (mr *MockProviderMockRecorder) Error(ctx, title interface{}, valueMaps ...interface{}) *gomock.Call
- func (mr *MockProviderMockRecorder) Fatal(ctx, title interface{}, valueMaps ...interface{}) *gomock.Call
- func (mr *MockProviderMockRecorder) Info(ctx, title interface{}, valueMaps ...interface{}) *gomock.Call
- func (mr *MockProviderMockRecorder) Warn(ctx, title interface{}, valueMaps ...interface{}) *gomock.Call
- type Provider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockProvider ¶
type MockProvider struct {
// contains filtered or unexported fields
}
MockProvider is a mock of Provider interface.
func NewMockProvider ¶
func NewMockProvider(ctrl *gomock.Controller) *MockProvider
NewMockProvider creates a new mock instance.
func (*MockProvider) Debug ¶
func (m *MockProvider) Debug(ctx context.Context, title string, valueMaps ...Body)
Debug mocks base method.
func (*MockProvider) EXPECT ¶
func (m *MockProvider) EXPECT() *MockProviderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockProvider) Error ¶
func (m *MockProvider) Error(ctx context.Context, title string, valueMaps ...Body)
Error mocks base method.
func (*MockProvider) Fatal ¶
func (m *MockProvider) Fatal(ctx context.Context, title string, valueMaps ...Body)
Fatal mocks base method.
type MockProviderMockRecorder ¶
type MockProviderMockRecorder struct {
// contains filtered or unexported fields
}
MockProviderMockRecorder is the mock recorder for MockProvider.
func (*MockProviderMockRecorder) Debug ¶
func (mr *MockProviderMockRecorder) Debug(ctx, title interface{}, valueMaps ...interface{}) *gomock.Call
Debug indicates an expected call of Debug.
func (*MockProviderMockRecorder) Error ¶
func (mr *MockProviderMockRecorder) Error(ctx, title interface{}, valueMaps ...interface{}) *gomock.Call
Error indicates an expected call of Error.
func (*MockProviderMockRecorder) Fatal ¶
func (mr *MockProviderMockRecorder) Fatal(ctx, title interface{}, valueMaps ...interface{}) *gomock.Call
Fatal indicates an expected call of Fatal.
func (*MockProviderMockRecorder) Info ¶
func (mr *MockProviderMockRecorder) Info(ctx, title interface{}, valueMaps ...interface{}) *gomock.Call
Info indicates an expected call of Info.
func (*MockProviderMockRecorder) Warn ¶
func (mr *MockProviderMockRecorder) Warn(ctx, title interface{}, valueMaps ...interface{}) *gomock.Call
Warn indicates an expected call of Warn.
type Provider ¶
type Provider interface { Debug(ctx context.Context, title string, valueMaps ...Body) Info(ctx context.Context, title string, valueMaps ...Body) Warn(ctx context.Context, title string, valueMaps ...Body) Error(ctx context.Context, title string, valueMaps ...Body) Fatal(ctx context.Context, title string, valueMaps ...Body) }
Click to show internal directories.
Click to hide internal directories.