mocks

package
v0.0.0-...-2ba7617 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: MIT Imports: 1 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 interface {
	mock.TestingT
	Cleanup(func())
}) *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. The first argument is typically a *testing.T value.

func (*Logger) Debug

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

Debug provides a mock function with given fields: msg, args

func (*Logger) Error

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

Error provides a mock function with given fields: msg, args

func (*Logger) Info

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

Info provides a mock function with given fields: msg, args

func (*Logger) Warn

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

Warn provides a mock function with given fields: msg, args

Jump to

Keyboard shortcuts

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