log/slog.Handler.WithAttrs (method)
6 uses
log/slog (current package)
handler.go#L70: WithAttrs(attrs []Attr) Handler
logger.go#L131: c.handler = l.handler.WithAttrs(argsToAttrSlice(args))
multi_handler.go#L50: handlers = append(handlers, h.multi[i].WithAttrs(attrs))
go.pact.im/x/logs
handler.go#L99: hc.next = h.next.WithAttrs(attrs)
logger.go#L60: return l.WithHandler(l.handler.WithAttrs(attrs))
go.pact.im/x/slogtime
slogtime.go#L62: c.handler = l.handler.WithAttrs(attrs)
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)