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) Debugn(arg0 string, arg1 ...logger.Field)
- 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) Errorn(arg0 string, arg1 ...logger.Field)
- 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) Fataln(arg0 string, arg1 ...logger.Field)
- 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) Infon(arg0 string, arg1 ...logger.Field)
- 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) Warnn(arg0 string, arg1 ...logger.Field)
- func (m *MockLogger) Warnw(arg0 string, arg1 ...interface{})
- func (m *MockLogger) With(arg0 ...interface{}) logger.Logger
- func (m *MockLogger) Withn(arg0 ...logger.Field) 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) Debugn(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) Errorn(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) Fataln(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) Infon(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) Warnn(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Warnw(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) With(arg0 ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Withn(arg0 ...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) Child ¶
func (m *MockLogger) Child(arg0 string) logger.Logger
Child mocks base method.
func (*MockLogger) Debugf ¶
func (m *MockLogger) Debugf(arg0 string, arg1 ...interface{})
Debugf mocks base method.
func (*MockLogger) Debugn ¶ added in v0.18.0
func (m *MockLogger) Debugn(arg0 string, arg1 ...logger.Field)
Debugn mocks base method.
func (*MockLogger) Debugw ¶
func (m *MockLogger) Debugw(arg0 string, arg1 ...interface{})
Debugw 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) Errorf ¶
func (m *MockLogger) Errorf(arg0 string, arg1 ...interface{})
Errorf mocks base method.
func (*MockLogger) Errorn ¶ added in v0.18.0
func (m *MockLogger) Errorn(arg0 string, arg1 ...logger.Field)
Errorn mocks base method.
func (*MockLogger) Errorw ¶
func (m *MockLogger) Errorw(arg0 string, arg1 ...interface{})
Errorw mocks base method.
func (*MockLogger) Fatalf ¶
func (m *MockLogger) Fatalf(arg0 string, arg1 ...interface{})
Fatalf mocks base method.
func (*MockLogger) Fataln ¶ added in v0.18.0
func (m *MockLogger) Fataln(arg0 string, arg1 ...logger.Field)
Fataln mocks base method.
func (*MockLogger) Fatalw ¶
func (m *MockLogger) Fatalw(arg0 string, arg1 ...interface{})
Fatalw mocks base method.
func (*MockLogger) Infof ¶
func (m *MockLogger) Infof(arg0 string, arg1 ...interface{})
Infof mocks base method.
func (*MockLogger) Infon ¶ added in v0.18.0
func (m *MockLogger) Infon(arg0 string, arg1 ...logger.Field)
Infon mocks base method.
func (*MockLogger) Infow ¶
func (m *MockLogger) Infow(arg0 string, arg1 ...interface{})
Infow mocks base method.
func (*MockLogger) IsDebugLevel ¶
func (m *MockLogger) IsDebugLevel() bool
IsDebugLevel mocks base method.
func (*MockLogger) LogRequest ¶
func (m *MockLogger) LogRequest(arg0 *http.Request)
LogRequest mocks base method.
func (*MockLogger) Warnf ¶
func (m *MockLogger) Warnf(arg0 string, arg1 ...interface{})
Warnf mocks base method.
func (*MockLogger) Warnn ¶ added in v0.18.0
func (m *MockLogger) Warnn(arg0 string, arg1 ...logger.Field)
Warnn mocks base method.
func (*MockLogger) Warnw ¶
func (m *MockLogger) Warnw(arg0 string, arg1 ...interface{})
Warnw mocks base method.
func (*MockLogger) With ¶
func (m *MockLogger) With(arg0 ...interface{}) logger.Logger
With mocks base method.
type MockLoggerMockRecorder ¶
type MockLoggerMockRecorder struct {
// contains filtered or unexported fields
}
MockLoggerMockRecorder is the mock recorder for MockLogger.
func (*MockLoggerMockRecorder) Child ¶
func (mr *MockLoggerMockRecorder) Child(arg0 interface{}) *gomock.Call
Child indicates an expected call of Child.
func (*MockLoggerMockRecorder) Debug ¶
func (mr *MockLoggerMockRecorder) Debug(arg0 ...interface{}) *gomock.Call
Debug indicates an expected call of Debug.
func (*MockLoggerMockRecorder) Debugf ¶
func (mr *MockLoggerMockRecorder) Debugf(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Debugf indicates an expected call of Debugf.
func (*MockLoggerMockRecorder) Debugn ¶ added in v0.18.0
func (mr *MockLoggerMockRecorder) Debugn(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Debugn indicates an expected call of Debugn.
func (*MockLoggerMockRecorder) Debugw ¶
func (mr *MockLoggerMockRecorder) Debugw(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Debugw indicates an expected call of Debugw.
func (*MockLoggerMockRecorder) Error ¶
func (mr *MockLoggerMockRecorder) Error(arg0 ...interface{}) *gomock.Call
Error indicates an expected call of Error.
func (*MockLoggerMockRecorder) Errorf ¶
func (mr *MockLoggerMockRecorder) Errorf(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Errorf indicates an expected call of Errorf.
func (*MockLoggerMockRecorder) Errorn ¶ added in v0.18.0
func (mr *MockLoggerMockRecorder) Errorn(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Errorn indicates an expected call of Errorn.
func (*MockLoggerMockRecorder) Errorw ¶
func (mr *MockLoggerMockRecorder) Errorw(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Errorw indicates an expected call of Errorw.
func (*MockLoggerMockRecorder) Fatal ¶
func (mr *MockLoggerMockRecorder) Fatal(arg0 ...interface{}) *gomock.Call
Fatal indicates an expected call of Fatal.
func (*MockLoggerMockRecorder) Fatalf ¶
func (mr *MockLoggerMockRecorder) Fatalf(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Fatalf indicates an expected call of Fatalf.
func (*MockLoggerMockRecorder) Fataln ¶ added in v0.18.0
func (mr *MockLoggerMockRecorder) Fataln(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Fataln indicates an expected call of Fataln.
func (*MockLoggerMockRecorder) Fatalw ¶
func (mr *MockLoggerMockRecorder) Fatalw(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Fatalw indicates an expected call of Fatalw.
func (*MockLoggerMockRecorder) Info ¶
func (mr *MockLoggerMockRecorder) Info(arg0 ...interface{}) *gomock.Call
Info indicates an expected call of Info.
func (*MockLoggerMockRecorder) Infof ¶
func (mr *MockLoggerMockRecorder) Infof(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Infof indicates an expected call of Infof.
func (*MockLoggerMockRecorder) Infon ¶ added in v0.18.0
func (mr *MockLoggerMockRecorder) Infon(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Infon indicates an expected call of Infon.
func (*MockLoggerMockRecorder) Infow ¶
func (mr *MockLoggerMockRecorder) Infow(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Infow indicates an expected call of Infow.
func (*MockLoggerMockRecorder) IsDebugLevel ¶
func (mr *MockLoggerMockRecorder) IsDebugLevel() *gomock.Call
IsDebugLevel indicates an expected call of IsDebugLevel.
func (*MockLoggerMockRecorder) LogRequest ¶
func (mr *MockLoggerMockRecorder) LogRequest(arg0 interface{}) *gomock.Call
LogRequest indicates an expected call of LogRequest.
func (*MockLoggerMockRecorder) Warn ¶
func (mr *MockLoggerMockRecorder) Warn(arg0 ...interface{}) *gomock.Call
Warn indicates an expected call of Warn.
func (*MockLoggerMockRecorder) Warnf ¶
func (mr *MockLoggerMockRecorder) Warnf(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Warnf indicates an expected call of Warnf.
func (*MockLoggerMockRecorder) Warnn ¶ added in v0.18.0
func (mr *MockLoggerMockRecorder) Warnn(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Warnn indicates an expected call of Warnn.
func (*MockLoggerMockRecorder) Warnw ¶
func (mr *MockLoggerMockRecorder) Warnw(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Warnw indicates an expected call of Warnw.
func (*MockLoggerMockRecorder) With ¶
func (mr *MockLoggerMockRecorder) With(arg0 ...interface{}) *gomock.Call
With indicates an expected call of With.
func (*MockLoggerMockRecorder) Withn ¶ added in v0.18.0
func (mr *MockLoggerMockRecorder) Withn(arg0 ...interface{}) *gomock.Call
Withn indicates an expected call of Withn.