Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPrettyLogger ¶
func NewPrettyLogger(opts *PrettyHandlerOptions, out ...io.Writer) *slog.Logger
Types ¶
type PrettyHandler ¶
type PrettyHandlerOptions ¶
type PrettyHandlerOptions struct {
SlogOpts *slog.HandlerOptions
}
func (PrettyHandlerOptions) NewPrettyHandler ¶
func (opts PrettyHandlerOptions) NewPrettyHandler( out io.Writer, ) *PrettyHandler
Click to show internal directories.
Click to hide internal directories.