logger

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2025 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package logger provides logging functionality for the CM application.

Package logger 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 interface {
	// Logf logs a formatted message.
	Logf(format string, args ...interface{})
}

Logger interface provides logging capabilities.

func NewDefaultLogger

func NewDefaultLogger() Logger

NewDefaultLogger creates a new default logger.

func NewNoopLogger

func NewNoopLogger() Logger

NewNoopLogger creates a new noop logger.

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) Logf

func (m *MockLogger) Logf(format string, args ...any)

Logf mocks base method.

type MockLoggerMockRecorder

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

MockLoggerMockRecorder is the mock recorder for MockLogger.

func (*MockLoggerMockRecorder) Logf

func (mr *MockLoggerMockRecorder) Logf(format any, args ...any) *gomock.Call

Logf indicates an expected call of Logf.

Jump to

Keyboard shortcuts

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