mocks

package
v0.21.1 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2023 License: AGPL-3.0 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 {
	// contains filtered or unexported fields
}

func New

func New() *Logger

func (*Logger) Debug

func (l *Logger) Debug(args ...any)

func (*Logger) Error

func (l *Logger) Error(args ...any)

func (*Logger) Info

func (l *Logger) Info(args ...any)

func (*Logger) Level

func (l *Logger) Level() log.Level

func (*Logger) Mock

func (l *Logger) Mock() *mock.Mock

func (*Logger) Panic

func (l *Logger) Panic(args ...any)

func (*Logger) Warn

func (l *Logger) Warn(args ...any)

func (*Logger) WithAdvice added in v0.20.0

func (l *Logger) WithAdvice(advice string) log.Logger

func (*Logger) WithError

func (l *Logger) WithError(err error) log.Logger

func (*Logger) WithField

func (l *Logger) WithField(key string, value any) log.Logger

func (*Logger) WithFields

func (l *Logger) WithFields(fields log.Fields) log.Logger

Jump to

Keyboard shortcuts

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