Documentation
¶
Overview ¶
Package slog provides functions to correlate logs and traces using log/slog package (https://pkg.go.dev/log/slog).
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewJSONHandler ¶
NewJSONHandler is a convenience function that returns a *slog.JSONHandler logger enhanced with tracing information.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.