mocks

package
v2.0.6 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LevelError = iota
	LevelWarn
	LevelInfo
	LevelDebug
)
View Source
const TestTimeStampFormat = "15:04:05.000"

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

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

func NewLogger

func NewLogger(t *testing.T, level ...int) *Logger

func (*Logger) Debugf

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

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

func (*Logger) Errorf

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

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

func (*Logger) Infof

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

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

func (*Logger) Warnf

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

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

Jump to

Keyboard shortcuts

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