There was an error while loading. Please reload this page.
Record.Attrs
log/slog.Record.Attrs is used to iterate over the attributes stored in a record:
log/slog.Record.Attrs
func (Record) Attrs(f func(Attr) bool)
If #61897 is accepted, we propose adding a method that fits better with that proposal:
func (Record) AllAttrs() iter.Seq[Attr]
Status