Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromContext ¶
FromContext returns the logger from the context. Be sure to check for a nil return value in case a logger has not been set with ToContext()
func FromContextOrDefault ¶
FromContextOrDefault() returns the *slog.Logger from FromContext() or the default logger if nil was returned
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.