diff options
| author | Sean Liao <sean@liao.dev> | 2025-05-14 21:26:57 +0100 |
|---|---|---|
| committer | Damien Neil <dneil@google.com> | 2025-05-21 11:29:28 -0700 |
| commit | 3ae95aafb5d656596212c672c6e104e5c8802dbc (patch) | |
| tree | 0664d506eeac529303761df6831416f74ce0c176 /api | |
| parent | ce49eb488af1c5273b226b3b52a8cbd7eae63a51 (diff) | |
| download | go-3ae95aafb5d656596212c672c6e104e5c8802dbc.tar.xz | |
log/slog: add GroupAttrs
GroupAttrs is a more efficient version of Group
that takes a slice of Attr values.
Fixes #66365
Change-Id: Ic3046704825e17098f2fea5751f2959dce1073e2
Reviewed-on: https://go-review.googlesource.com/c/go/+/672915
Reviewed-by: Jonathan Amsterdam <jba@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Diffstat (limited to 'api')
| -rw-r--r-- | api/next/66365.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/api/next/66365.txt b/api/next/66365.txt new file mode 100644 index 0000000000..52f1c7ea8e --- /dev/null +++ b/api/next/66365.txt @@ -0,0 +1 @@ +pkg log/slog, func GroupAttrs(string, ...Attr) Attr #66365 |
