Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AsStdLogger ¶
AsStdLogger creates a new log.Logger that uses the SlogAdapter to log messages.
Types ¶
type NoOpHandler ¶
type NoOpHandler struct{}
func NewNoOpHandler ¶
func NewNoOpHandler() *NoOpHandler
type SlogAdapter ¶
type SlogAdapter struct {
// contains filtered or unexported fields
}
Define the SlogAdapter struct that wraps the slog.Logger.
Click to show internal directories.
Click to hide internal directories.