type log/slog.TextHandler
9 uses
log/slog (current package)
text_handler.go#L21: type TextHandler struct {
text_handler.go#L28: func NewTextHandler(w io.Writer, opts *HandlerOptions) *TextHandler {
text_handler.go#L32: return &TextHandler{
text_handler.go#L44: func (h *TextHandler) Enabled(_ context.Context, level Level) bool {
text_handler.go#L50: func (h *TextHandler) WithAttrs(attrs []Attr) Handler {
text_handler.go#L51: return &TextHandler{commonHandler: h.commonHandler.withAttrs(attrs)}
text_handler.go#L54: func (h *TextHandler) WithGroup(name string) Handler {
text_handler.go#L55: return &TextHandler{commonHandler: h.commonHandler.withGroup(name)}
text_handler.go#L94: func (h *TextHandler) Handle(_ context.Context, r Record) error {
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)