mock_logger

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 17, 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 mock_logger is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockInterface

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

MockInterface is a mock of Interface interface.

func NewMockInterface

func NewMockInterface(ctrl *gomock.Controller) *MockInterface

NewMockInterface creates a new mock instance.

func (*MockInterface) Debug

func (m *MockInterface) Debug(ctx context.Context, obj any)

Debug mocks base method.

func (*MockInterface) Debugf added in v0.1.0

func (m *MockInterface) Debugf(ctx context.Context, format string, args ...any)

Debugf mocks base method.

func (*MockInterface) EXPECT

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

func (*MockInterface) Error

func (m *MockInterface) Error(ctx context.Context, obj any)

Error mocks base method.

func (*MockInterface) Fatal

func (m *MockInterface) Fatal(ctx context.Context, obj any)

Fatal mocks base method.

func (*MockInterface) Info

func (m *MockInterface) Info(ctx context.Context, obj any)

Info mocks base method.

func (*MockInterface) Panic

func (m *MockInterface) Panic(obj any)

Panic mocks base method.

func (*MockInterface) Trace

func (m *MockInterface) Trace(ctx context.Context, obj any)

Trace mocks base method.

func (*MockInterface) Warn

func (m *MockInterface) Warn(ctx context.Context, obj any)

Warn mocks base method.

type MockInterfaceMockRecorder

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

MockInterfaceMockRecorder is the mock recorder for MockInterface.

func (*MockInterfaceMockRecorder) Debug

func (mr *MockInterfaceMockRecorder) Debug(ctx, obj any) *gomock.Call

Debug indicates an expected call of Debug.

func (*MockInterfaceMockRecorder) Debugf added in v0.1.0

func (mr *MockInterfaceMockRecorder) Debugf(ctx, format any, args ...any) *gomock.Call

Debugf indicates an expected call of Debugf.

func (*MockInterfaceMockRecorder) Error

func (mr *MockInterfaceMockRecorder) Error(ctx, obj any) *gomock.Call

Error indicates an expected call of Error.

func (*MockInterfaceMockRecorder) Fatal

func (mr *MockInterfaceMockRecorder) Fatal(ctx, obj any) *gomock.Call

Fatal indicates an expected call of Fatal.

func (*MockInterfaceMockRecorder) Info

func (mr *MockInterfaceMockRecorder) Info(ctx, obj any) *gomock.Call

Info indicates an expected call of Info.

func (*MockInterfaceMockRecorder) Panic

func (mr *MockInterfaceMockRecorder) Panic(obj any) *gomock.Call

Panic indicates an expected call of Panic.

func (*MockInterfaceMockRecorder) Trace

func (mr *MockInterfaceMockRecorder) Trace(ctx, obj any) *gomock.Call

Trace indicates an expected call of Trace.

func (*MockInterfaceMockRecorder) Warn

func (mr *MockInterfaceMockRecorder) Warn(ctx, obj any) *gomock.Call

Warn indicates an expected call of Warn.

Jump to

Keyboard shortcuts

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