Documentation
¶
Overview ¶
Package xslog provide some helper for slog package.
- NewContext & FromContext 1.1 slog didn't provide machinism for pass logger with context, see https://github.com/golang/go/issues/56345#issuecomment-1379438240 and https://github.com/golang/go/issues/56345#issuecomment-1401382937 for more detail
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromContext ¶
FromContext returns the Logger stored in ctx by NewContext, or the default Logger if there is none.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.