Documentation
¶
Index ¶
- func AddMetaToContext(ctx context.Context, args ...slog.Attr) context.Context
- func AddToContext(ctx context.Context, logger *slog.Logger) context.Context
- func FromContext(ctx context.Context) *slog.Logger
- func NewRequestLoggerMiddleware(logger *slog.Logger) func(next http.HandlerFunc) http.HandlerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddMetaToContext ¶
func NewRequestLoggerMiddleware ¶
func NewRequestLoggerMiddleware(logger *slog.Logger) func(next http.HandlerFunc) http.HandlerFunc
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.