Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Configure ¶ added in v0.0.2
Configure() we only configure the default slog logger if you want a specific slog logger, just new one using package `log/slog`, instead this package
func ReplaceAttr ¶ added in v0.0.2
ReplaceAttr using for slog.Options.Replace
func SetLogLevel ¶
Types ¶
type PrettyHandler ¶ added in v0.0.2
func NewPrettyHandler ¶ added in v0.0.2
func NewPrettyHandler(out io.Writer, opts PrettyHandlerOptions) *PrettyHandler
type PrettyHandlerOptions ¶ added in v0.0.2
type PrettyHandlerOptions struct {
SlogOpts slog.HandlerOptions
}
type StackFrame ¶ added in v0.0.2
Click to show internal directories.
Click to hide internal directories.