logger_mock

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2021 License: MIT Imports: 2 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package logger_mock is a generated GoMock package.

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
}

Logger is a mock of Logger interface

func NewLogger

func NewLogger(ctrl *gomock.Controller) *Logger

NewLogger creates a new mock instance

func (*Logger) Debug

func (m *Logger) Debug(msg string)

Debug mocks base method

func (*Logger) EXPECT

func (m *Logger) EXPECT() *LoggerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*Logger) Error

func (m *Logger) Error(msg string)

Error mocks base method

func (*Logger) Info

func (m *Logger) Info(msg string)

Info mocks base method

func (*Logger) Warning

func (m *Logger) Warning(msg string)

Warning mocks base method

type LoggerMockRecorder

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

LoggerMockRecorder is the mock recorder for Logger

func (*LoggerMockRecorder) Debug

func (mr *LoggerMockRecorder) Debug(msg interface{}) *gomock.Call

Debug indicates an expected call of Debug

func (*LoggerMockRecorder) Error

func (mr *LoggerMockRecorder) Error(msg interface{}) *gomock.Call

Error indicates an expected call of Error

func (*LoggerMockRecorder) Info

func (mr *LoggerMockRecorder) Info(msg interface{}) *gomock.Call

Info indicates an expected call of Info

func (*LoggerMockRecorder) Warning

func (mr *LoggerMockRecorder) Warning(msg interface{}) *gomock.Call

Warning indicates an expected call of Warning

Jump to

Keyboard shortcuts

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