mock_log

package
v1.0.35 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock_log is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBuilder

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

MockBuilder is a mock of Builder interface.

func NewMockBuilder

func NewMockBuilder(ctrl *gomock.Controller) *MockBuilder

NewMockBuilder creates a new mock instance.

func (*MockBuilder) Build

func (m *MockBuilder) Build() log.Logger

Build mocks base method.

func (*MockBuilder) EXPECT

func (m *MockBuilder) EXPECT() *MockBuilderMockRecorder

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

func (*MockBuilder) IncrementSkipFrames

func (m *MockBuilder) IncrementSkipFrames(addition int) log.Builder

IncrementSkipFrames mocks base method.

func (*MockBuilder) SetLevel

func (m *MockBuilder) SetLevel(level log.Level) log.Builder

SetLevel mocks base method.

type MockBuilderMockRecorder

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

MockBuilderMockRecorder is the mock recorder for MockBuilder.

func (*MockBuilderMockRecorder) Build

func (mr *MockBuilderMockRecorder) Build() *gomock.Call

Build indicates an expected call of Build.

func (*MockBuilderMockRecorder) IncrementSkipFrames

func (mr *MockBuilderMockRecorder) IncrementSkipFrames(addition interface{}) *gomock.Call

IncrementSkipFrames indicates an expected call of IncrementSkipFrames.

func (*MockBuilderMockRecorder) SetLevel

func (mr *MockBuilderMockRecorder) SetLevel(level interface{}) *gomock.Call

SetLevel indicates an expected call of SetLevel.

type MockFields

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

MockFields is a mock of Fields interface.

func NewMockFields

func NewMockFields(ctrl *gomock.Controller) *MockFields

NewMockFields creates a new mock instance.

func (*MockFields) Custom

func (m *MockFields) Custom(ctx context.Context, level log.Level, skipAdditionalFrames int, format string, args ...interface{})

Custom mocks base method.

func (*MockFields) Debug

func (m *MockFields) Debug(ctx context.Context, format string, args ...interface{})

Debug mocks base method.

func (*MockFields) EXPECT

func (m *MockFields) EXPECT() *MockFieldsMockRecorder

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

func (*MockFields) Error

func (m *MockFields) Error(ctx context.Context, format string, args ...interface{})

Error mocks base method.

func (*MockFields) Info

func (m *MockFields) Info(ctx context.Context, format string, args ...interface{})

Info mocks base method.

func (*MockFields) Trace

func (m *MockFields) Trace(ctx context.Context, format string, args ...interface{})

Trace mocks base method.

func (*MockFields) Warn

func (m *MockFields) Warn(ctx context.Context, format string, args ...interface{})

Warn mocks base method.

func (*MockFields) WithError

func (m *MockFields) WithError(err error) log.Fields

WithError mocks base method.

func (*MockFields) WithField

func (m *MockFields) WithField(name string, value interface{}) log.Fields

WithField mocks base method.

type MockFieldsMockRecorder

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

MockFieldsMockRecorder is the mock recorder for MockFields.

func (*MockFieldsMockRecorder) Custom

func (mr *MockFieldsMockRecorder) Custom(ctx, level, skipAdditionalFrames, format interface{}, args ...interface{}) *gomock.Call

Custom indicates an expected call of Custom.

func (*MockFieldsMockRecorder) Debug

func (mr *MockFieldsMockRecorder) Debug(ctx, format interface{}, args ...interface{}) *gomock.Call

Debug indicates an expected call of Debug.

func (*MockFieldsMockRecorder) Error

func (mr *MockFieldsMockRecorder) Error(ctx, format interface{}, args ...interface{}) *gomock.Call

Error indicates an expected call of Error.

func (*MockFieldsMockRecorder) Info

func (mr *MockFieldsMockRecorder) Info(ctx, format interface{}, args ...interface{}) *gomock.Call

Info indicates an expected call of Info.

func (*MockFieldsMockRecorder) Trace

func (mr *MockFieldsMockRecorder) Trace(ctx, format interface{}, args ...interface{}) *gomock.Call

Trace indicates an expected call of Trace.

func (*MockFieldsMockRecorder) Warn

func (mr *MockFieldsMockRecorder) Warn(ctx, format interface{}, args ...interface{}) *gomock.Call

Warn indicates an expected call of Warn.

func (*MockFieldsMockRecorder) WithError

func (mr *MockFieldsMockRecorder) WithError(err interface{}) *gomock.Call

WithError indicates an expected call of WithError.

func (*MockFieldsMockRecorder) WithField

func (mr *MockFieldsMockRecorder) WithField(name, value interface{}) *gomock.Call

WithField indicates an expected call of WithField.

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) Configuration

func (m *MockLogger) Configuration() log.LoggerConfiguration

Configuration mocks base method.

func (*MockLogger) Custom

func (m *MockLogger) Custom(ctx context.Context, level log.Level, skipAdditionalFrames int, format string, args ...interface{})

Custom mocks base method.

func (*MockLogger) Debug

func (m *MockLogger) Debug(ctx context.Context, format string, args ...interface{})

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(ctx context.Context, format string, args ...interface{})

Error mocks base method.

func (*MockLogger) Info

func (m *MockLogger) Info(ctx context.Context, format string, args ...interface{})

Info mocks base method.

func (*MockLogger) Trace

func (m *MockLogger) Trace(ctx context.Context, format string, args ...interface{})

Trace mocks base method.

func (*MockLogger) Warn

func (m *MockLogger) Warn(ctx context.Context, format string, args ...interface{})

Warn mocks base method.

func (*MockLogger) WithError

func (m *MockLogger) WithError(err error) log.Fields

WithError mocks base method.

func (*MockLogger) WithField

func (m *MockLogger) WithField(name string, value interface{}) log.Fields

WithField mocks base method.

type MockLoggerConfiguration

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

MockLoggerConfiguration is a mock of LoggerConfiguration interface.

func NewMockLoggerConfiguration

func NewMockLoggerConfiguration(ctrl *gomock.Controller) *MockLoggerConfiguration

NewMockLoggerConfiguration creates a new mock instance.

func (*MockLoggerConfiguration) EXPECT

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

func (*MockLoggerConfiguration) Implementation

func (m *MockLoggerConfiguration) Implementation() interface{}

Implementation mocks base method.

func (*MockLoggerConfiguration) Level

func (m *MockLoggerConfiguration) Level() log.Level

Level mocks base method.

type MockLoggerConfigurationMockRecorder

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

MockLoggerConfigurationMockRecorder is the mock recorder for MockLoggerConfiguration.

func (*MockLoggerConfigurationMockRecorder) Implementation

func (mr *MockLoggerConfigurationMockRecorder) Implementation() *gomock.Call

Implementation indicates an expected call of Implementation.

func (*MockLoggerConfigurationMockRecorder) Level

Level indicates an expected call of Level.

type MockLoggerMockRecorder

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

MockLoggerMockRecorder is the mock recorder for MockLogger.

func (*MockLoggerMockRecorder) Configuration

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

Configuration indicates an expected call of Configuration.

func (*MockLoggerMockRecorder) Custom

func (mr *MockLoggerMockRecorder) Custom(ctx, level, skipAdditionalFrames, format interface{}, args ...interface{}) *gomock.Call

Custom indicates an expected call of Custom.

func (*MockLoggerMockRecorder) Debug

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

Debug indicates an expected call of Debug.

func (*MockLoggerMockRecorder) Error

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

Error indicates an expected call of Error.

func (*MockLoggerMockRecorder) Info

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

Info indicates an expected call of Info.

func (*MockLoggerMockRecorder) Trace

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

Trace indicates an expected call of Trace.

func (*MockLoggerMockRecorder) Warn

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

Warn indicates an expected call of Warn.

func (*MockLoggerMockRecorder) WithError

func (mr *MockLoggerMockRecorder) WithError(err interface{}) *gomock.Call

WithError indicates an expected call of WithError.

func (*MockLoggerMockRecorder) WithField

func (mr *MockLoggerMockRecorder) WithField(name, value interface{}) *gomock.Call

WithField indicates an expected call of WithField.

type MockMessages

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

MockMessages is a mock of Messages interface.

func NewMockMessages

func NewMockMessages(ctrl *gomock.Controller) *MockMessages

NewMockMessages creates a new mock instance.

func (*MockMessages) Custom

func (m *MockMessages) Custom(ctx context.Context, level log.Level, skipAdditionalFrames int, format string, args ...interface{})

Custom mocks base method.

func (*MockMessages) Debug

func (m *MockMessages) Debug(ctx context.Context, format string, args ...interface{})

Debug mocks base method.

func (*MockMessages) EXPECT

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

func (*MockMessages) Error

func (m *MockMessages) Error(ctx context.Context, format string, args ...interface{})

Error mocks base method.

func (*MockMessages) Info

func (m *MockMessages) Info(ctx context.Context, format string, args ...interface{})

Info mocks base method.

func (*MockMessages) Trace

func (m *MockMessages) Trace(ctx context.Context, format string, args ...interface{})

Trace mocks base method.

func (*MockMessages) Warn

func (m *MockMessages) Warn(ctx context.Context, format string, args ...interface{})

Warn mocks base method.

type MockMessagesMockRecorder

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

MockMessagesMockRecorder is the mock recorder for MockMessages.

func (*MockMessagesMockRecorder) Custom

func (mr *MockMessagesMockRecorder) Custom(ctx, level, skipAdditionalFrames, format interface{}, args ...interface{}) *gomock.Call

Custom indicates an expected call of Custom.

func (*MockMessagesMockRecorder) Debug

func (mr *MockMessagesMockRecorder) Debug(ctx, format interface{}, args ...interface{}) *gomock.Call

Debug indicates an expected call of Debug.

func (*MockMessagesMockRecorder) Error

func (mr *MockMessagesMockRecorder) Error(ctx, format interface{}, args ...interface{}) *gomock.Call

Error indicates an expected call of Error.

func (*MockMessagesMockRecorder) Info

func (mr *MockMessagesMockRecorder) Info(ctx, format interface{}, args ...interface{}) *gomock.Call

Info indicates an expected call of Info.

func (*MockMessagesMockRecorder) Trace

func (mr *MockMessagesMockRecorder) Trace(ctx, format interface{}, args ...interface{}) *gomock.Call

Trace indicates an expected call of Trace.

func (*MockMessagesMockRecorder) Warn

func (mr *MockMessagesMockRecorder) Warn(ctx, format interface{}, args ...interface{}) *gomock.Call

Warn indicates an expected call of Warn.

Jump to

Keyboard shortcuts

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