log

package
v0.1.24 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2026 License: MIT Imports: 3 Imported by: ? 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 log is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockLogger

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

MockLogger is a mock of Logger interface.

func NewMockLogger

func NewMockLogger(ctrl *gomock.Controller) *MockLogger

NewMockLogger creates a new mock instance.

func (*MockLogger) EXPECT

func (m *MockLogger) EXPECT() *MockLoggerMockRecorder

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

func (*MockLogger) Log

func (m *MockLogger) Log(arg0 log.Level, arg1 ...interface{})

Log mocks base method.

func (*MockLogger) Logf

func (m *MockLogger) Logf(arg0 log.Level, arg1 string, arg2 ...interface{})

Logf mocks base method.

func (*MockLogger) SetLevel

func (m *MockLogger) SetLevel(arg0 log.Level)

SetLevel mocks base method.

func (*MockLogger) WithFields

func (m *MockLogger) WithFields(arg0 []log.Field) log.Logger

WithFields mocks base method.

type MockLoggerMockRecorder

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

MockLoggerMockRecorder is the mock recorder for MockLogger.

func (*MockLoggerMockRecorder) Log

func (mr *MockLoggerMockRecorder) Log(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Log indicates an expected call of Log.

func (*MockLoggerMockRecorder) Logf

func (mr *MockLoggerMockRecorder) Logf(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Logf indicates an expected call of Logf.

func (*MockLoggerMockRecorder) SetLevel

func (mr *MockLoggerMockRecorder) SetLevel(arg0 interface{}) *gomock.Call

SetLevel indicates an expected call of SetLevel.

func (*MockLoggerMockRecorder) WithFields

func (mr *MockLoggerMockRecorder) WithFields(arg0 interface{}) *gomock.Call

WithFields indicates an expected call of WithFields.

Jump to

Keyboard shortcuts

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