Documentation ¶
Index ¶
Constants ¶
View Source
const (
SlogCustomAttrsCtxKey ctxKey = "slog_custom_attrs"
)
Variables ¶
This section is empty.
Functions ¶
func AppendCtx ¶
AppendCtx adds an slog attribute to the provided context so that it will be included in any Record created with such context
func Initialize ¶
func Initialize()
Types ¶
Click to show internal directories.
Click to hide internal directories.