Documentation ¶
Index ¶
- func AddAttrs(ctx context.Context, attrs []slog.Attr)
- func Attrs(ctx context.Context) []slog.Attr
- func AttrsToArgs(attrs []slog.Attr) []any
- func Logger(ctx context.Context) *slog.Logger
- func SetLogger(ctx context.Context, logger *slog.Logger)
- func WithLogger(ctx context.Context, logger *slog.Logger, attrs ...slog.Attr) context.Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AttrsToArgs ¶ added in v1.0.3
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.