Documentation ¶
Overview ¶
Package mock_log is a generated GoMock package.
Index ¶
- type MockLogger
- func (m *MockLogger) Debug(format string, args ...interface{})
- func (m *MockLogger) EXPECT() *MockLoggerMockRecorder
- func (m *MockLogger) Error(format string, args ...interface{})
- func (m *MockLogger) Fatal(format string, args ...interface{})
- func (m *MockLogger) Info(format string, args ...interface{})
- func (m *MockLogger) Log(fields map[string]interface{})
- func (m *MockLogger) Panic(format string, args ...interface{})
- func (m *MockLogger) Trace(format string, args ...interface{})
- func (m *MockLogger) Warn(format string, args ...interface{})
- type MockLoggerMockRecorder
- func (mr *MockLoggerMockRecorder) Debug(format interface{}, args ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Error(format interface{}, args ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Fatal(format interface{}, args ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Info(format interface{}, args ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Log(fields interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Panic(format interface{}, args ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Trace(format interface{}, args ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Warn(format interface{}, args ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockLogger ¶
type MockLogger struct {
// contains filtered or unexported fields
}
MockLogger is a mock of Logger interface.
func NewMockLogger ¶
func NewMockLogger(ctrl *gomock.Controller) *MockLogger
NewMockLogger creates a new mock instance.
func (*MockLogger) Debug ¶
func (m *MockLogger) Debug(format string, args ...interface{})
Debug mocks base method.
func (*MockLogger) EXPECT ¶
func (m *MockLogger) EXPECT() *MockLoggerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLogger) Error ¶
func (m *MockLogger) Error(format string, args ...interface{})
Error mocks base method.
func (*MockLogger) Fatal ¶
func (m *MockLogger) Fatal(format string, args ...interface{})
Fatal mocks base method.
func (*MockLogger) Info ¶
func (m *MockLogger) Info(format string, args ...interface{})
Info mocks base method.
func (*MockLogger) Log ¶
func (m *MockLogger) Log(fields map[string]interface{})
Log mocks base method.
func (*MockLogger) Panic ¶
func (m *MockLogger) Panic(format string, args ...interface{})
Panic mocks base method.
func (*MockLogger) Trace ¶
func (m *MockLogger) Trace(format string, args ...interface{})
Trace mocks base method.
func (*MockLogger) Warn ¶
func (m *MockLogger) Warn(format string, args ...interface{})
Warn mocks base method.
type MockLoggerMockRecorder ¶
type MockLoggerMockRecorder struct {
// contains filtered or unexported fields
}
MockLoggerMockRecorder is the mock recorder for MockLogger.
func (*MockLoggerMockRecorder) Debug ¶
func (mr *MockLoggerMockRecorder) Debug(format interface{}, args ...interface{}) *gomock.Call
Debug indicates an expected call of Debug.
func (*MockLoggerMockRecorder) Error ¶
func (mr *MockLoggerMockRecorder) Error(format interface{}, args ...interface{}) *gomock.Call
Error indicates an expected call of Error.
func (*MockLoggerMockRecorder) Fatal ¶
func (mr *MockLoggerMockRecorder) Fatal(format interface{}, args ...interface{}) *gomock.Call
Fatal indicates an expected call of Fatal.
func (*MockLoggerMockRecorder) Info ¶
func (mr *MockLoggerMockRecorder) Info(format interface{}, args ...interface{}) *gomock.Call
Info indicates an expected call of Info.
func (*MockLoggerMockRecorder) Log ¶
func (mr *MockLoggerMockRecorder) Log(fields interface{}) *gomock.Call
Log indicates an expected call of Log.
func (*MockLoggerMockRecorder) Panic ¶
func (mr *MockLoggerMockRecorder) Panic(format interface{}, args ...interface{}) *gomock.Call
Panic indicates an expected call of Panic.
func (*MockLoggerMockRecorder) Trace ¶
func (mr *MockLoggerMockRecorder) Trace(format interface{}, args ...interface{}) *gomock.Call
Trace indicates an expected call of Trace.
func (*MockLoggerMockRecorder) Warn ¶
func (mr *MockLoggerMockRecorder) Warn(format interface{}, args ...interface{}) *gomock.Call
Warn indicates an expected call of Warn.