]> Cypherpunks.ru repositories - gostls13.git/commit
log/slog: Group takes ...any
authorJonathan Amsterdam <jba@google.com>
Wed, 19 Apr 2023 18:56:58 +0000 (14:56 -0400)
committerJonathan Amsterdam <jba@google.com>
Thu, 4 May 2023 19:53:09 +0000 (19:53 +0000)
commit2f5f231ac12af61b43d508f46ebe10cf0ebe2730
tree2d36f2c29613dd0c8190cb9bf720e5e8f3b9a8fb
parent79723f389b630e61c5e9635235b7f4c624ac1379
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>
api/next/56345.txt
api/next/59204.txt [new file with mode: 0644]
src/log/slog/attr.go
src/log/slog/doc.go
src/log/slog/logger.go