logger

package
v0.0.0-...-fd6796e Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LogLevelDebug  = iota
	LogLevelInfo   = iota
	LogLevelWarn   = iota
	LogLevelError  = iota
	LogLevelSilent = 99
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger interface {
	Error(ctx context.Context, format string, a ...any)
	Warn(ctx context.Context, format string, a ...any)
	Info(ctx context.Context, format string, a ...any)
	Debug(ctx context.Context, format string, a ...any)
	SetLogLevel(ctx context.Context, logLevel int) context.Context
	Silent(ctx context.Context) context.Context
}

func New

func New() Logger

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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