logmock

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: May 18, 2023 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LoggerMock

type LoggerMock struct {
	mock.Mock
}

LoggerMock is a custom logger embedding mock.Mock and allows to do expectations on logging methods.

func (*LoggerMock) Debug

func (l *LoggerMock) Debug(format string, v ...interface{})

func (*LoggerMock) Err

func (l *LoggerMock) Err(err error, format string, v ...interface{})

func (*LoggerMock) Info

func (l *LoggerMock) Info(format string, v ...interface{})

func (*LoggerMock) Warn

func (l *LoggerMock) Warn(format string, v ...interface{})

Jump to

Keyboard shortcuts

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