Documentation
¶
Index ¶
- func Debug(msg string, args ...any)
- func Default() *slog.Logger
- func Disable()
- func Enable()
- func Error(msg string, args ...any)
- func Info(msg string, args ...any)
- func SetDefault(logger *slog.Logger)
- func SetLevel(level slog.Level)
- func Warn(msg string, args ...any)
- type CustomHandler
- type Format
- type Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetDefault ¶
Types ¶
type CustomHandler ¶ added in v0.2.0
func NewCustomHandler ¶ added in v0.2.0
func NewCustomHandler(w io.Writer, opts *slog.HandlerOptions) *CustomHandler
Click to show internal directories.
Click to hide internal directories.