logger

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LogLevelDebug = "debug"
	LogLevelInfo  = "info"
	LogLevelWarn  = "warn"
	LogLevelError = "error"
	LogLevelFatal = "fatal"
)

Supported log levels for LOG_LEVEL environment variable.

Variables

This section is empty.

Functions

func Debug

func Debug(ctx context.Context, msg ...any)

Debug log output with Debug.

func Error

func Error(ctx context.Context, msg ...any)

Error log output with Error.

func Fatal added in v1.3.4

func Fatal(ctx context.Context, msg ...any)

Fatal log output with Fatal.

func Info

func Info(ctx context.Context, msg ...any)

Info log output with Info.

func Panic added in v1.3.4

func Panic(ctx context.Context, msg ...any)

Panic log output with Panic.

func Warn

func Warn(ctx context.Context, msg ...any)

Warn log output with Warn.

Types

This section is empty.

Jump to

Keyboard shortcuts

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