Documentation
¶
Overview ¶
Package logger provides a unified logging interface for the application.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger interface {
Debug(ctx context.Context, msg string, attrs ...slog.Attr)
Info(ctx context.Context, msg string, attrs ...slog.Attr)
Warn(ctx context.Context, msg string, attrs ...slog.Attr)
Error(ctx context.Context, msg string, attrs ...slog.Attr)
With(attrs ...slog.Attr) Logger
}
Logger is the application logging interface.
Click to show internal directories.
Click to hide internal directories.