Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SloggerFrom ¶
SloggerFrom returns a *slog.Logger from the context.
Types ¶
type SlogConfig ¶
type SlogConfig struct {
// contains filtered or unexported fields
}
func (*SlogConfig) AddFlags ¶
func (s *SlogConfig) AddFlags(flags *pflag.FlagSet)
Click to show internal directories.
Click to hide internal directories.