Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MultiStreamHandler ¶ added in v0.26.0
type MultiStreamHandler struct {
// contains filtered or unexported fields
}
MultiStreamHandler slog handler for directing different
func New ¶ added in v0.26.0
func New(outLow, outHigh io.Writer, format string, opts *slog.HandlerOptions) *MultiStreamHandler
New returns new MultiStreamHandler
func (*MultiStreamHandler) Handle ¶ added in v0.26.0
Handle pass to Low or High handlers based on log level
Click to show internal directories.
Click to hide internal directories.