mock_mrlog

package
v0.20.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 12, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_mrlog is a generated GoMock package.

Index

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() mrlog.LoggerEvent

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() mrlog.LoggerEvent

Error mocks base method.

func (*MockLogger) Fatal

func (m *MockLogger) Fatal() mrlog.LoggerEvent

Fatal mocks base method.

func (*MockLogger) Info

func (m *MockLogger) Info() mrlog.LoggerEvent

Info mocks base method.

func (*MockLogger) Level

func (m *MockLogger) Level() mrlog.Level

Level mocks base method.

func (*MockLogger) Panic

func (m *MockLogger) Panic() mrlog.LoggerEvent

Panic mocks base method.

func (*MockLogger) Printf

func (m *MockLogger) Printf(format string, args ...any)

Printf mocks base method.

func (*MockLogger) Trace

func (m *MockLogger) Trace() mrlog.LoggerEvent

Trace mocks base method.

func (*MockLogger) Warn

func (m *MockLogger) Warn() mrlog.LoggerEvent

Warn mocks base method.

func (*MockLogger) With

func (m *MockLogger) With() mrlog.LoggerContext

With mocks base method.

func (*MockLogger) WithContext

func (m *MockLogger) WithContext(ctx context.Context) context.Context

WithContext mocks base method.

type MockLoggerContext

type MockLoggerContext struct {
	// contains filtered or unexported fields
}

MockLoggerContext is a mock of LoggerContext interface.

func NewMockLoggerContext

func NewMockLoggerContext(ctrl *gomock.Controller) *MockLoggerContext

NewMockLoggerContext creates a new mock instance.

func (*MockLoggerContext) Any

func (m *MockLoggerContext) Any(key string, value any) mrlog.LoggerContext

Any mocks base method.

func (*MockLoggerContext) Bytes

func (m *MockLoggerContext) Bytes(key string, value []byte) mrlog.LoggerContext

Bytes mocks base method.

func (*MockLoggerContext) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockLoggerContext) Int

func (m *MockLoggerContext) Int(key string, value int) mrlog.LoggerContext

Int mocks base method.

func (*MockLoggerContext) Logger

func (m *MockLoggerContext) Logger() mrlog.Logger

Logger mocks base method.

func (*MockLoggerContext) Str

func (m *MockLoggerContext) Str(key, value string) mrlog.LoggerContext

Str mocks base method.

type MockLoggerContextMockRecorder

type MockLoggerContextMockRecorder struct {
	// contains filtered or unexported fields
}

MockLoggerContextMockRecorder is the mock recorder for MockLoggerContext.

func (*MockLoggerContextMockRecorder) Any

func (mr *MockLoggerContextMockRecorder) Any(key, value interface{}) *gomock.Call

Any indicates an expected call of Any.

func (*MockLoggerContextMockRecorder) Bytes

func (mr *MockLoggerContextMockRecorder) Bytes(key, value interface{}) *gomock.Call

Bytes indicates an expected call of Bytes.

func (*MockLoggerContextMockRecorder) Int

func (mr *MockLoggerContextMockRecorder) Int(key, value interface{}) *gomock.Call

Int indicates an expected call of Int.

func (*MockLoggerContextMockRecorder) Logger

Logger indicates an expected call of Logger.

func (*MockLoggerContextMockRecorder) Str

func (mr *MockLoggerContextMockRecorder) Str(key, value interface{}) *gomock.Call

Str indicates an expected call of Str.

type MockLoggerEvent

type MockLoggerEvent struct {
	// contains filtered or unexported fields
}

MockLoggerEvent is a mock of LoggerEvent interface.

func NewMockLoggerEvent

func NewMockLoggerEvent(ctrl *gomock.Controller) *MockLoggerEvent

NewMockLoggerEvent creates a new mock instance.

func (*MockLoggerEvent) Any

func (m *MockLoggerEvent) Any(key string, value any) mrlog.LoggerEvent

Any mocks base method.

func (*MockLoggerEvent) Bytes

func (m *MockLoggerEvent) Bytes(key string, value []byte) mrlog.LoggerEvent

Bytes mocks base method.

func (*MockLoggerEvent) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockLoggerEvent) Err

func (m *MockLoggerEvent) Err(err error) mrlog.LoggerEvent

Err mocks base method.

func (*MockLoggerEvent) Int

func (m *MockLoggerEvent) Int(key string, value int) mrlog.LoggerEvent

Int mocks base method.

func (*MockLoggerEvent) Msg

func (m *MockLoggerEvent) Msg(message string)

Msg mocks base method.

func (*MockLoggerEvent) MsgFunc

func (m *MockLoggerEvent) MsgFunc(createMsg func() string)

MsgFunc mocks base method.

func (*MockLoggerEvent) Msgf

func (m *MockLoggerEvent) Msgf(format string, args ...any)

Msgf mocks base method.

func (*MockLoggerEvent) Send

func (m *MockLoggerEvent) Send()

Send mocks base method.

func (*MockLoggerEvent) Str

func (m *MockLoggerEvent) Str(key, value string) mrlog.LoggerEvent

Str mocks base method.

type MockLoggerEventMockRecorder

type MockLoggerEventMockRecorder struct {
	// contains filtered or unexported fields
}

MockLoggerEventMockRecorder is the mock recorder for MockLoggerEvent.

func (*MockLoggerEventMockRecorder) Any

func (mr *MockLoggerEventMockRecorder) Any(key, value interface{}) *gomock.Call

Any indicates an expected call of Any.

func (*MockLoggerEventMockRecorder) Bytes

func (mr *MockLoggerEventMockRecorder) Bytes(key, value interface{}) *gomock.Call

Bytes indicates an expected call of Bytes.

func (*MockLoggerEventMockRecorder) Err

func (mr *MockLoggerEventMockRecorder) Err(err interface{}) *gomock.Call

Err indicates an expected call of Err.

func (*MockLoggerEventMockRecorder) Int

func (mr *MockLoggerEventMockRecorder) Int(key, value interface{}) *gomock.Call

Int indicates an expected call of Int.

func (*MockLoggerEventMockRecorder) Msg

func (mr *MockLoggerEventMockRecorder) Msg(message interface{}) *gomock.Call

Msg indicates an expected call of Msg.

func (*MockLoggerEventMockRecorder) MsgFunc

func (mr *MockLoggerEventMockRecorder) MsgFunc(createMsg interface{}) *gomock.Call

MsgFunc indicates an expected call of MsgFunc.

func (*MockLoggerEventMockRecorder) Msgf

func (mr *MockLoggerEventMockRecorder) Msgf(format interface{}, args ...interface{}) *gomock.Call

Msgf indicates an expected call of Msgf.

func (*MockLoggerEventMockRecorder) Send

Send indicates an expected call of Send.

func (*MockLoggerEventMockRecorder) Str

func (mr *MockLoggerEventMockRecorder) Str(key, value interface{}) *gomock.Call

Str indicates an expected call of Str.

type MockLoggerMockRecorder

type MockLoggerMockRecorder struct {
	// contains filtered or unexported fields
}

MockLoggerMockRecorder is the mock recorder for MockLogger.

func (*MockLoggerMockRecorder) Debug

func (mr *MockLoggerMockRecorder) Debug() *gomock.Call

Debug indicates an expected call of Debug.

func (*MockLoggerMockRecorder) Error

func (mr *MockLoggerMockRecorder) Error() *gomock.Call

Error indicates an expected call of Error.

func (*MockLoggerMockRecorder) Fatal

func (mr *MockLoggerMockRecorder) Fatal() *gomock.Call

Fatal indicates an expected call of Fatal.

func (*MockLoggerMockRecorder) Info

func (mr *MockLoggerMockRecorder) Info() *gomock.Call

Info indicates an expected call of Info.

func (*MockLoggerMockRecorder) Level

func (mr *MockLoggerMockRecorder) Level() *gomock.Call

Level indicates an expected call of Level.

func (*MockLoggerMockRecorder) Panic

func (mr *MockLoggerMockRecorder) Panic() *gomock.Call

Panic indicates an expected call of Panic.

func (*MockLoggerMockRecorder) Printf

func (mr *MockLoggerMockRecorder) Printf(format interface{}, args ...interface{}) *gomock.Call

Printf indicates an expected call of Printf.

func (*MockLoggerMockRecorder) Trace

func (mr *MockLoggerMockRecorder) Trace() *gomock.Call

Trace indicates an expected call of Trace.

func (*MockLoggerMockRecorder) Warn

func (mr *MockLoggerMockRecorder) Warn() *gomock.Call

Warn indicates an expected call of Warn.

func (*MockLoggerMockRecorder) With

func (mr *MockLoggerMockRecorder) With() *gomock.Call

With indicates an expected call of With.

func (*MockLoggerMockRecorder) WithContext

func (mr *MockLoggerMockRecorder) WithContext(ctx interface{}) *gomock.Call

WithContext indicates an expected call of WithContext.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL