Documentation ¶
Overview ¶
Package log is a generated GoMock package.
Package log is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoggerArgs ¶
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) EXPECT ¶
func (m *MockLogger) EXPECT() *MockLoggerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLogger) Verbose ¶
func (m *MockLogger) Verbose() *zerolog.Event
Verbose mocks base method.
type MockLoggerMockRecorder ¶
type MockLoggerMockRecorder struct {
// contains filtered or unexported fields
}
MockLoggerMockRecorder is the mock recorder for MockLogger.
func (*MockLoggerMockRecorder) Error ¶
func (mr *MockLoggerMockRecorder) Error() *gomock.Call
Error indicates an expected call of Error.
func (*MockLoggerMockRecorder) Log ¶
func (mr *MockLoggerMockRecorder) Log() *gomock.Call
Log indicates an expected call of Log.
func (*MockLoggerMockRecorder) Verbose ¶
func (mr *MockLoggerMockRecorder) Verbose() *gomock.Call
Verbose indicates an expected call of Verbose.
type MockWriter ¶
type MockWriter struct {
// contains filtered or unexported fields
}
MockWriter is a mock of Writer interface.
func NewMockWriter ¶
func NewMockWriter(ctrl *gomock.Controller) *MockWriter
NewMockWriter creates a new mock instance.
func (*MockWriter) EXPECT ¶
func (m *MockWriter) EXPECT() *MockWriterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockWriter) Write ¶
func (m *MockWriter) Write(p []byte) (int, error)
Write mocks base method.
func (*MockWriter) WriteLevel ¶
WriteLevel mocks base method.
type MockWriterMockRecorder ¶
type MockWriterMockRecorder struct {
// contains filtered or unexported fields
}
MockWriterMockRecorder is the mock recorder for MockWriter.
func (*MockWriterMockRecorder) Write ¶
func (mr *MockWriterMockRecorder) Write(p interface{}) *gomock.Call
Write indicates an expected call of Write.
func (*MockWriterMockRecorder) WriteLevel ¶
func (mr *MockWriterMockRecorder) WriteLevel(level, p interface{}) *gomock.Call
WriteLevel indicates an expected call of WriteLevel.