mocklog

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mocklog is a generated GoMock package.

Package mocklog is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockConfig

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

MockConfig is a mock of Config interface.

func NewMockConfig

func NewMockConfig(ctrl *gomock.Controller) *MockConfig

NewMockConfig creates a new mock instance.

func (*MockConfig) EXPECT

func (m *MockConfig) EXPECT() *MockConfigMockRecorder

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

func (*MockConfig) Level

func (m *MockConfig) Level() string

Level mocks base method.

type MockConfigMockRecorder

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

MockConfigMockRecorder is the mock recorder for MockConfig.

func (*MockConfigMockRecorder) Level

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

Level indicates an expected call of Level.

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(arg0 ...interface{})

Debug mocks base method.

func (*MockLogger) Debugf

func (m *MockLogger) Debugf(arg0 string, arg1 ...interface{})

Debugf mocks base method.

func (*MockLogger) Debugln

func (m *MockLogger) Debugln(arg0 ...interface{})

Debugln 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(arg0 ...interface{})

Error mocks base method.

func (*MockLogger) Errorf

func (m *MockLogger) Errorf(arg0 string, arg1 ...interface{})

Errorf mocks base method.

func (*MockLogger) Errorln

func (m *MockLogger) Errorln(arg0 ...interface{})

Errorln mocks base method.

func (*MockLogger) Fatal

func (m *MockLogger) Fatal(arg0 ...interface{})

Fatal mocks base method.

func (*MockLogger) Fatalf

func (m *MockLogger) Fatalf(arg0 string, arg1 ...interface{})

Fatalf mocks base method.

func (*MockLogger) Fatalln

func (m *MockLogger) Fatalln(arg0 ...interface{})

Fatalln mocks base method.

func (*MockLogger) Info

func (m *MockLogger) Info(arg0 ...interface{})

Info mocks base method.

func (*MockLogger) Infof

func (m *MockLogger) Infof(arg0 string, arg1 ...interface{})

Infof mocks base method.

func (*MockLogger) Infoln

func (m *MockLogger) Infoln(arg0 ...interface{})

Infoln mocks base method.

func (*MockLogger) Print

func (m *MockLogger) Print(arg0 ...interface{})

Print mocks base method.

func (*MockLogger) Printf

func (m *MockLogger) Printf(arg0 string, arg1 ...interface{})

Printf mocks base method.

func (*MockLogger) Println

func (m *MockLogger) Println(arg0 ...interface{})

Println mocks base method.

func (*MockLogger) V

func (m *MockLogger) V(arg0 int) bool

V mocks base method.

func (*MockLogger) Warning

func (m *MockLogger) Warning(arg0 ...interface{})

Warning mocks base method.

func (*MockLogger) Warningf

func (m *MockLogger) Warningf(arg0 string, arg1 ...interface{})

Warningf mocks base method.

func (*MockLogger) Warningln

func (m *MockLogger) Warningln(arg0 ...interface{})

Warningln mocks base method.

func (*MockLogger) WithError

func (m *MockLogger) WithError(arg0 error) log.Logger

WithError mocks base method.

func (*MockLogger) WithField

func (m *MockLogger) WithField(arg0 string, arg1 interface{}) log.Logger

WithField mocks base method.

func (*MockLogger) WithFields

func (m *MockLogger) WithFields(arg0 map[string]interface{}) log.Logger

WithFields mocks base method.

type MockLoggerMockRecorder

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

MockLoggerMockRecorder is the mock recorder for MockLogger.

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

func (mr *MockLoggerMockRecorder) Debugln(arg0 ...interface{}) *gomock.Call

Debugln indicates an expected call of Debugln.

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

func (mr *MockLoggerMockRecorder) Errorln(arg0 ...interface{}) *gomock.Call

Errorln indicates an expected call of Errorln.

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

func (mr *MockLoggerMockRecorder) Fatalln(arg0 ...interface{}) *gomock.Call

Fatalln indicates an expected call of Fatalln.

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

func (mr *MockLoggerMockRecorder) Infoln(arg0 ...interface{}) *gomock.Call

Infoln indicates an expected call of Infoln.

func (*MockLoggerMockRecorder) Print

func (mr *MockLoggerMockRecorder) Print(arg0 ...interface{}) *gomock.Call

Print indicates an expected call of Print.

func (*MockLoggerMockRecorder) Printf

func (mr *MockLoggerMockRecorder) Printf(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Printf indicates an expected call of Printf.

func (*MockLoggerMockRecorder) Println

func (mr *MockLoggerMockRecorder) Println(arg0 ...interface{}) *gomock.Call

Println indicates an expected call of Println.

func (*MockLoggerMockRecorder) V

func (mr *MockLoggerMockRecorder) V(arg0 interface{}) *gomock.Call

V indicates an expected call of V.

func (*MockLoggerMockRecorder) Warning

func (mr *MockLoggerMockRecorder) Warning(arg0 ...interface{}) *gomock.Call

Warning indicates an expected call of Warning.

func (*MockLoggerMockRecorder) Warningf

func (mr *MockLoggerMockRecorder) Warningf(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Warningf indicates an expected call of Warningf.

func (*MockLoggerMockRecorder) Warningln

func (mr *MockLoggerMockRecorder) Warningln(arg0 ...interface{}) *gomock.Call

Warningln indicates an expected call of Warningln.

func (*MockLoggerMockRecorder) WithError

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

WithError indicates an expected call of WithError.

func (*MockLoggerMockRecorder) WithField

func (mr *MockLoggerMockRecorder) WithField(arg0, arg1 interface{}) *gomock.Call

WithField indicates an expected call of WithField.

func (*MockLoggerMockRecorder) WithFields

func (mr *MockLoggerMockRecorder) WithFields(arg0 interface{}) *gomock.Call

WithFields indicates an expected call of WithFields.

Jump to

Keyboard shortcuts

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