diff options
author | Jonathan Amsterdam <jba@google.com> | 2023-04-12 09:11:59 -0400 |
---|---|---|
committer | Jonathan Amsterdam <jba@google.com> | 2023-04-12 20:33:37 +0000 |
commit | f3e6f0f296c5d0a317527ebe6471eedabc408fae (patch) | |
tree | b73eddbc1f2f3c3a9da10abc82df9713710726d6 /api | |
parent | d528f72d4c391309b2cb938707837b0da386b67c (diff) | |
download | go-git-f3e6f0f296c5d0a317527ebe6471eedabc408fae.tar.gz |
log/slog: function argument to Record.Attrs returns bool
Record.Attrs stops as soon as its argument function returns false.
Fixes #59060.
Change-Id: I578d64635e0e52b0fcdbc57f6d5a27a6efac8c70
Reviewed-on: https://go-review.googlesource.com/c/go/+/484096
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Alan Donovan <adonovan@google.com>
Run-TryBot: Jonathan Amsterdam <jba@google.com>
Diffstat (limited to 'api')
-rw-r--r-- | api/next/59060.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/api/next/59060.txt b/api/next/59060.txt new file mode 100644 index 0000000000..e362452b51 --- /dev/null +++ b/api/next/59060.txt @@ -0,0 +1,2 @@ +pkg log/slog, method (Record) Attrs(func(Attr) bool) #59060 + |