Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendSlogAttributesToCtx ¶
Appends slog attributes to the given context. The modified context is then returned.
Types ¶
type ContextualSlogAttributesHandler ¶
type CustomTextHandler ¶
type CustomTextHandler struct {
// contains filtered or unexported fields
}
func NewCustomTextHandler ¶
func NewCustomTextHandler(writer io.Writer, options *slog.HandlerOptions) *CustomTextHandler
type SlogAttributesCtxKey ¶
type SlogAttributesCtxKey struct{}
Click to show internal directories.
Click to hide internal directories.