1
0
mirror of https://github.com/golang/go synced 2024-11-13 14:30:21 -07:00
go/api/next/59204.txt
Jonathan Amsterdam 2f5f231ac1 log/slog: Group takes ...any
The Group function takes a key and a ...any, which is converted
into attrs.

Fixes #59204.

Change-Id: Ib714365dcda2eda37863ce433f3dd8cf5eeda610
Reviewed-on: https://go-review.googlesource.com/c/go/+/487855
Reviewed-by: Alan Donovan <adonovan@google.com>
Run-TryBot: Jonathan Amsterdam <jba@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-05-04 19:53:09 +00:00

2 lines
61 B
Plaintext

pkg log/slog, func Group(string, ...interface{}) Attr #59204