Documentation
¶
Overview ¶
Package mock_logutils is a generated GoMock package.
Index ¶
- type MockLog
- func (m *MockLog) Child(name string) logutils.Log
- func (m *MockLog) EXPECT() *MockLogMockRecorder
- func (m *MockLog) Errorf(format string, args ...interface{})
- func (m *MockLog) Fatalf(format string, args ...interface{})
- func (m *MockLog) Infof(format string, args ...interface{})
- func (m *MockLog) Panicf(format string, args ...interface{})
- func (m *MockLog) SetLevel(level logutils.LogLevel)
- func (m *MockLog) Warnf(format string, args ...interface{})
- type MockLogMockRecorder
- func (mr *MockLogMockRecorder) Child(name interface{}) *gomock.Call
- func (mr *MockLogMockRecorder) Errorf(format interface{}, args ...interface{}) *gomock.Call
- func (mr *MockLogMockRecorder) Fatalf(format interface{}, args ...interface{}) *gomock.Call
- func (mr *MockLogMockRecorder) Infof(format interface{}, args ...interface{}) *gomock.Call
- func (mr *MockLogMockRecorder) Panicf(format interface{}, args ...interface{}) *gomock.Call
- func (mr *MockLogMockRecorder) SetLevel(level interface{}) *gomock.Call
- func (mr *MockLogMockRecorder) Warnf(format interface{}, args ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockLog ¶
type MockLog struct {
// contains filtered or unexported fields
}
MockLog is a mock of Log interface
func NewMockLog ¶
func NewMockLog(ctrl *gomock.Controller) *MockLog
NewMockLog creates a new mock instance
func (*MockLog) EXPECT ¶
func (m *MockLog) EXPECT() *MockLogMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockLogMockRecorder ¶
type MockLogMockRecorder struct {
// contains filtered or unexported fields
}
MockLogMockRecorder is the mock recorder for MockLog
func (*MockLogMockRecorder) Child ¶
func (mr *MockLogMockRecorder) Child(name interface{}) *gomock.Call
Child indicates an expected call of Child
func (*MockLogMockRecorder) Errorf ¶
func (mr *MockLogMockRecorder) Errorf(format interface{}, args ...interface{}) *gomock.Call
Errorf indicates an expected call of Errorf
func (*MockLogMockRecorder) Fatalf ¶
func (mr *MockLogMockRecorder) Fatalf(format interface{}, args ...interface{}) *gomock.Call
Fatalf indicates an expected call of Fatalf
func (*MockLogMockRecorder) Infof ¶
func (mr *MockLogMockRecorder) Infof(format interface{}, args ...interface{}) *gomock.Call
Infof indicates an expected call of Infof
func (*MockLogMockRecorder) Panicf ¶
func (mr *MockLogMockRecorder) Panicf(format interface{}, args ...interface{}) *gomock.Call
Panicf indicates an expected call of Panicf
func (*MockLogMockRecorder) SetLevel ¶
func (mr *MockLogMockRecorder) SetLevel(level interface{}) *gomock.Call
SetLevel indicates an expected call of SetLevel
func (*MockLogMockRecorder) Warnf ¶
func (mr *MockLogMockRecorder) Warnf(format interface{}, args ...interface{}) *gomock.Call
Warnf indicates an expected call of Warnf
Click to show internal directories.
Click to hide internal directories.