Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct {
Level string
Writer io.Writer
Format string
ReplaceAttr func(groups []string, a slog.Attr) slog.Attr
// WrapHandler, when set, receives the fully built format handler and
// returns the handler the logger should actually use. It is the
// interception point for observability capture layers such as
// logring.Wrap; stdout format and level semantics stay with the
// wrapped handler.
WrapHandler func(slog.Handler) slog.Handler
}
Click to show internal directories.
Click to hide internal directories.