Documentation ¶
Overview ¶
Package mock_logger is a generated GoMock package.
Index ¶
- type MockLogger
- func (m *MockLogger) Child(arg0 string) logger.Logger
- func (m *MockLogger) Debug(arg0 ...interface{})
- func (m *MockLogger) Debugf(arg0 string, arg1 ...interface{})
- func (m *MockLogger) Debugw(arg0 string, arg1 ...interface{})
- func (m *MockLogger) EXPECT() *MockLoggerMockRecorder
- func (m *MockLogger) Error(arg0 ...interface{})
- func (m *MockLogger) Errorf(arg0 string, arg1 ...interface{})
- func (m *MockLogger) Errorw(arg0 string, arg1 ...interface{})
- func (m *MockLogger) Fatal(arg0 ...interface{})
- func (m *MockLogger) Fatalf(arg0 string, arg1 ...interface{})
- func (m *MockLogger) Fatalw(arg0 string, arg1 ...interface{})
- func (m *MockLogger) Info(arg0 ...interface{})
- func (m *MockLogger) Infof(arg0 string, arg1 ...interface{})
- func (m *MockLogger) Infow(arg0 string, arg1 ...interface{})
- func (m *MockLogger) IsDebugLevel() bool
- func (m *MockLogger) LogRequest(arg0 *http.Request)
- func (m *MockLogger) Warn(arg0 ...interface{})
- func (m *MockLogger) Warnf(arg0 string, arg1 ...interface{})
- func (m *MockLogger) Warnw(arg0 string, arg1 ...interface{})
- func (m *MockLogger) With(arg0 ...interface{}) logger.Logger
- type MockLoggerMockRecorder
- func (mr *MockLoggerMockRecorder) Child(arg0 interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Debug(arg0 ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Debugf(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Debugw(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Error(arg0 ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Errorf(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Errorw(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Fatal(arg0 ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Fatalf(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Fatalw(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Info(arg0 ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Infof(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Infow(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) IsDebugLevel() *gomock.Call
- func (mr *MockLoggerMockRecorder) LogRequest(arg0 interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Warn(arg0 ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Warnf(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Warnw(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) With(arg0 ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockLogger ¶ added in v1.2.0
type MockLogger struct {
// contains filtered or unexported fields
}
MockLogger is a mock of Logger interface.
func NewMockLogger ¶ added in v1.2.0
func NewMockLogger(ctrl *gomock.Controller) *MockLogger
NewMockLogger creates a new mock instance.
func (*MockLogger) Child ¶ added in v1.2.0
func (m *MockLogger) Child(arg0 string) logger.Logger
Child mocks base method.
func (*MockLogger) Debug ¶ added in v1.2.0
func (m *MockLogger) Debug(arg0 ...interface{})
Debug mocks base method.
func (*MockLogger) Debugf ¶ added in v1.2.0
func (m *MockLogger) Debugf(arg0 string, arg1 ...interface{})
Debugf mocks base method.
func (*MockLogger) Debugw ¶ added in v1.2.0
func (m *MockLogger) Debugw(arg0 string, arg1 ...interface{})
Debugw mocks base method.
func (*MockLogger) EXPECT ¶ added in v1.2.0
func (m *MockLogger) EXPECT() *MockLoggerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLogger) Error ¶ added in v1.2.0
func (m *MockLogger) Error(arg0 ...interface{})
Error mocks base method.
func (*MockLogger) Errorf ¶ added in v1.2.0
func (m *MockLogger) Errorf(arg0 string, arg1 ...interface{})
Errorf mocks base method.
func (*MockLogger) Errorw ¶ added in v1.2.0
func (m *MockLogger) Errorw(arg0 string, arg1 ...interface{})
Errorw mocks base method.
func (*MockLogger) Fatal ¶ added in v1.2.0
func (m *MockLogger) Fatal(arg0 ...interface{})
Fatal mocks base method.
func (*MockLogger) Fatalf ¶ added in v1.2.0
func (m *MockLogger) Fatalf(arg0 string, arg1 ...interface{})
Fatalf mocks base method.
func (*MockLogger) Fatalw ¶ added in v1.2.0
func (m *MockLogger) Fatalw(arg0 string, arg1 ...interface{})
Fatalw mocks base method.
func (*MockLogger) Info ¶ added in v1.2.0
func (m *MockLogger) Info(arg0 ...interface{})
Info mocks base method.
func (*MockLogger) Infof ¶ added in v1.2.0
func (m *MockLogger) Infof(arg0 string, arg1 ...interface{})
Infof mocks base method.
func (*MockLogger) Infow ¶ added in v1.2.0
func (m *MockLogger) Infow(arg0 string, arg1 ...interface{})
Infow mocks base method.
func (*MockLogger) IsDebugLevel ¶ added in v1.2.0
func (m *MockLogger) IsDebugLevel() bool
IsDebugLevel mocks base method.
func (*MockLogger) LogRequest ¶ added in v1.2.0
func (m *MockLogger) LogRequest(arg0 *http.Request)
LogRequest mocks base method.
func (*MockLogger) Warn ¶ added in v1.2.0
func (m *MockLogger) Warn(arg0 ...interface{})
Warn mocks base method.
func (*MockLogger) Warnf ¶ added in v1.2.0
func (m *MockLogger) Warnf(arg0 string, arg1 ...interface{})
Warnf mocks base method.
func (*MockLogger) Warnw ¶ added in v1.2.0
func (m *MockLogger) Warnw(arg0 string, arg1 ...interface{})
Warnw mocks base method.
func (*MockLogger) With ¶ added in v1.2.0
func (m *MockLogger) With(arg0 ...interface{}) logger.Logger
With mocks base method.
type MockLoggerMockRecorder ¶ added in v1.2.0
type MockLoggerMockRecorder struct {
// contains filtered or unexported fields
}
MockLoggerMockRecorder is the mock recorder for MockLogger.
func (*MockLoggerMockRecorder) Child ¶ added in v1.2.0
func (mr *MockLoggerMockRecorder) Child(arg0 interface{}) *gomock.Call
Child indicates an expected call of Child.
func (*MockLoggerMockRecorder) Debug ¶ added in v1.2.0
func (mr *MockLoggerMockRecorder) Debug(arg0 ...interface{}) *gomock.Call
Debug indicates an expected call of Debug.
func (*MockLoggerMockRecorder) Debugf ¶ added in v1.2.0
func (mr *MockLoggerMockRecorder) Debugf(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Debugf indicates an expected call of Debugf.
func (*MockLoggerMockRecorder) Debugw ¶ added in v1.2.0
func (mr *MockLoggerMockRecorder) Debugw(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Debugw indicates an expected call of Debugw.
func (*MockLoggerMockRecorder) Error ¶ added in v1.2.0
func (mr *MockLoggerMockRecorder) Error(arg0 ...interface{}) *gomock.Call
Error indicates an expected call of Error.
func (*MockLoggerMockRecorder) Errorf ¶ added in v1.2.0
func (mr *MockLoggerMockRecorder) Errorf(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Errorf indicates an expected call of Errorf.
func (*MockLoggerMockRecorder) Errorw ¶ added in v1.2.0
func (mr *MockLoggerMockRecorder) Errorw(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Errorw indicates an expected call of Errorw.
func (*MockLoggerMockRecorder) Fatal ¶ added in v1.2.0
func (mr *MockLoggerMockRecorder) Fatal(arg0 ...interface{}) *gomock.Call
Fatal indicates an expected call of Fatal.
func (*MockLoggerMockRecorder) Fatalf ¶ added in v1.2.0
func (mr *MockLoggerMockRecorder) Fatalf(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Fatalf indicates an expected call of Fatalf.
func (*MockLoggerMockRecorder) Fatalw ¶ added in v1.2.0
func (mr *MockLoggerMockRecorder) Fatalw(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Fatalw indicates an expected call of Fatalw.
func (*MockLoggerMockRecorder) Info ¶ added in v1.2.0
func (mr *MockLoggerMockRecorder) Info(arg0 ...interface{}) *gomock.Call
Info indicates an expected call of Info.
func (*MockLoggerMockRecorder) Infof ¶ added in v1.2.0
func (mr *MockLoggerMockRecorder) Infof(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Infof indicates an expected call of Infof.
func (*MockLoggerMockRecorder) Infow ¶ added in v1.2.0
func (mr *MockLoggerMockRecorder) Infow(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Infow indicates an expected call of Infow.
func (*MockLoggerMockRecorder) IsDebugLevel ¶ added in v1.2.0
func (mr *MockLoggerMockRecorder) IsDebugLevel() *gomock.Call
IsDebugLevel indicates an expected call of IsDebugLevel.
func (*MockLoggerMockRecorder) LogRequest ¶ added in v1.2.0
func (mr *MockLoggerMockRecorder) LogRequest(arg0 interface{}) *gomock.Call
LogRequest indicates an expected call of LogRequest.
func (*MockLoggerMockRecorder) Warn ¶ added in v1.2.0
func (mr *MockLoggerMockRecorder) Warn(arg0 ...interface{}) *gomock.Call
Warn indicates an expected call of Warn.
func (*MockLoggerMockRecorder) Warnf ¶ added in v1.2.0
func (mr *MockLoggerMockRecorder) Warnf(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Warnf indicates an expected call of Warnf.
func (*MockLoggerMockRecorder) Warnw ¶ added in v1.2.0
func (mr *MockLoggerMockRecorder) Warnw(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Warnw indicates an expected call of Warnw.
func (*MockLoggerMockRecorder) With ¶ added in v1.2.0
func (mr *MockLoggerMockRecorder) With(arg0 ...interface{}) *gomock.Call
With indicates an expected call of With.