mirror of
https://github.com/golang/go.git
synced 2025-10-19 19:13:18 +00:00
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>
This commit is contained in:
parent
ce49eb488a
commit
3ae95aafb5
4 changed files with 55 additions and 0 deletions
1
api/next/66365.txt
Normal file
1
api/next/66365.txt
Normal file
|
@ -0,0 +1 @@
|
|||
pkg log/slog, func GroupAttrs(string, ...Attr) Attr #66365
|
Loading…
Add table
Add a link
Reference in a new issue