mocks

package
v0.0.0-...-74273eb Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2023 License: MIT Imports: 2 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) Debugw

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

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

func (*Logger) Errorw

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

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

func (*Logger) Fatalw

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

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

func (*Logger) Infow

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

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

func (*Logger) Sync

func (_m *Logger) Sync() error

Sync provides a mock function with given fields:

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{}) log.Logger

With provides a mock function with given fields: args

func (*Logger) WithAlert

func (_m *Logger) WithAlert(alert log.Alert) log.Logger

WithAlert provides a mock function with given fields: alert

func (*Logger) Write

func (_m *Logger) Write(p []byte) (int, error)

Write provides a mock function with given fields: p

Jump to

Keyboard shortcuts

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