Documentation
¶
Index ¶
- type ReadableTextHandler
- func (h *ReadableTextHandler) Enabled(ctx context.Context, level slog.Level) bool
- func (h *ReadableTextHandler) Handle(ctx context.Context, record slog.Record) error
- func (h *ReadableTextHandler) WithAttrs(attrs []slog.Attr) slog.Handler
- func (h *ReadableTextHandler) WithGroup(name string) slog.Handler
- type ReadableTextHandlerOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReadableTextHandler ¶
type ReadableTextHandler struct {
// contains filtered or unexported fields
}
func NewReadableTextHandler ¶
func NewReadableTextHandler(out io.Writer, options *ReadableTextHandlerOptions) *ReadableTextHandler
Click to show internal directories.
Click to hide internal directories.