mocks

package
v1.1.16 Latest Latest
Warning

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

Go to latest
Published: May 29, 2023 License: Apache-2.0 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) Crit

func (_m *Logger) Crit(msg string, ctx ...interface{})

Crit provides a mock function with given fields: msg, ctx

func (*Logger) Debug

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

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

func (*Logger) Error

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

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

func (*Logger) GetHandler

func (_m *Logger) GetHandler() log.Handler

GetHandler provides a mock function with given fields:

func (*Logger) Info

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

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

func (*Logger) New

func (_m *Logger) New(ctx ...interface{}) log.Logger

New provides a mock function with given fields: ctx

func (*Logger) SetHandler

func (_m *Logger) SetHandler(h log.Handler)

SetHandler provides a mock function with given fields: h

func (*Logger) SetSkipLevel

func (_m *Logger) SetSkipLevel(skip int)

SetSkipLevel provides a mock function with given fields: skip

func (*Logger) Trace

func (_m *Logger) Trace(msg string, ctx ...interface{})

Trace provides a mock function with given fields: msg, ctx

func (*Logger) Warn

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

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

Jump to

Keyboard shortcuts

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