logger

package
v0.0.0-...-74bcc06 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2026 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

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

func Default

func Default() *slog.Logger

func Error

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

func ErrorErr

func ErrorErr(err error, msg string, args ...any)

func Fatal

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

func FatalErr

func FatalErr(err error, msg string, args ...any)

func FromContext

func FromContext(ctx context.Context) *slog.Logger

creates a logger with context

func Info

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

func Warn

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

func With

func With(args ...any) *slog.Logger

func WithContext

func WithContext(ctx context.Context, logger *slog.Logger) context.Context

adds logger to context

Types

This section is empty.

Jump to

Keyboard shortcuts

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