dummylogger

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2026 License: MIT Imports: 1 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 {
	// contains filtered or unexported fields
}

Logger is a blackhole logger.

func New

func New(cfg *logger.Config) Logger

New creates a new Logger from Config.

func (Logger) Debug

func (l Logger) Debug(msg string, args ...any)

Debug logs at debug level.

func (Logger) Error

func (l Logger) Error(msg string, args ...any)

Error logs at error level.

func (Logger) Fatal

func (l Logger) Fatal(msg string, args ...any)

Fatal logs at error level then exits.

func (Logger) Info

func (l Logger) Info(msg string, args ...any)

Info logs at info level.

func (Logger) Warn

func (l Logger) Warn(msg string, args ...any)

Warn logs at warn level.

Jump to

Keyboard shortcuts

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