mocks

package
v2.6.1-mercury-20231116 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger struct {
	mock.Mock
}

Logger is an autogenerated mock type for the Logger type

func NewLogger

func NewLogger(t mockConstructorTestingTNewLogger) *Logger

NewLogger creates a new instance of Logger. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Logger) Critical

func (_m *Logger) Critical(args ...interface{})

Critical provides a mock function with given fields: args

func (*Logger) Criticalf

func (_m *Logger) Criticalf(format string, values ...interface{})

Criticalf provides a mock function with given fields: format, values

func (*Logger) Criticalw

func (_m *Logger) Criticalw(msg string, keysAndValues ...interface{})

Criticalw provides a mock function with given fields: msg, keysAndValues

func (*Logger) Debug

func (_m *Logger) Debug(args ...interface{})

Debug provides a mock function with given fields: args

func (*Logger) Debugf

func (_m *Logger) Debugf(format string, values ...interface{})

Debugf provides a mock function with given fields: format, values

func (*Logger) Debugw

func (_m *Logger) Debugw(msg string, keysAndValues ...interface{})

Debugw provides a mock function with given fields: msg, keysAndValues

func (*Logger) Error

func (_m *Logger) Error(args ...interface{})

Error provides a mock function with given fields: args

func (*Logger) Errorf

func (_m *Logger) Errorf(format string, values ...interface{})

Errorf provides a mock function with given fields: format, values

func (*Logger) Errorw

func (_m *Logger) Errorw(msg string, keysAndValues ...interface{})

Errorw provides a mock function with given fields: msg, keysAndValues

func (*Logger) Fatal

func (_m *Logger) Fatal(args ...interface{})

Fatal provides a mock function with given fields: args

func (*Logger) Fatalf

func (_m *Logger) Fatalf(format string, values ...interface{})

Fatalf provides a mock function with given fields: format, values

func (*Logger) Fatalw

func (_m *Logger) Fatalw(msg string, keysAndValues ...interface{})

Fatalw provides a mock function with given fields: msg, keysAndValues

func (*Logger) Helper

func (_m *Logger) Helper(skip int) logger.Logger

Helper provides a mock function with given fields: skip

func (*Logger) Info

func (_m *Logger) Info(args ...interface{})

Info provides a mock function with given fields: args

func (*Logger) Infof

func (_m *Logger) Infof(format string, values ...interface{})

Infof provides a mock function with given fields: format, values

func (*Logger) Infow

func (_m *Logger) Infow(msg string, keysAndValues ...interface{})

Infow provides a mock function with given fields: msg, keysAndValues

func (*Logger) Name

func (_m *Logger) Name() string

Name provides a mock function with given fields:

func (*Logger) Named

func (_m *Logger) Named(name string) logger.Logger

Named provides a mock function with given fields: name

func (*Logger) Panic

func (_m *Logger) Panic(args ...interface{})

Panic provides a mock function with given fields: args

func (*Logger) Panicf

func (_m *Logger) Panicf(format string, values ...interface{})

Panicf provides a mock function with given fields: format, values

func (*Logger) Panicw

func (_m *Logger) Panicw(msg string, keysAndValues ...interface{})

Panicw provides a mock function with given fields: msg, keysAndValues

func (*Logger) Recover

func (_m *Logger) Recover(panicErr interface{})

Recover provides a mock function with given fields: panicErr

func (*Logger) SetLogLevel

func (_m *Logger) SetLogLevel(_a0 zapcore.Level)

SetLogLevel provides a mock function with given fields: _a0

func (*Logger) Sync

func (_m *Logger) Sync() error

Sync provides a mock function with given fields:

func (*Logger) Trace

func (_m *Logger) Trace(args ...interface{})

Trace provides a mock function with given fields: args

func (*Logger) Tracef

func (_m *Logger) Tracef(format string, values ...interface{})

Tracef provides a mock function with given fields: format, values

func (*Logger) Tracew

func (_m *Logger) Tracew(msg string, keysAndValues ...interface{})

Tracew provides a mock function with given fields: msg, keysAndValues

func (*Logger) Warn

func (_m *Logger) Warn(args ...interface{})

Warn provides a mock function with given fields: args

func (*Logger) Warnf

func (_m *Logger) Warnf(format string, values ...interface{})

Warnf provides a mock function with given fields: format, values

func (*Logger) Warnw

func (_m *Logger) Warnw(msg string, keysAndValues ...interface{})

Warnw provides a mock function with given fields: msg, keysAndValues

func (*Logger) With

func (_m *Logger) With(args ...interface{}) logger.Logger

With provides a mock function with given fields: args

Jump to

Keyboard shortcuts

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