From f3e6f0f296c5d0a317527ebe6471eedabc408fae Mon Sep 17 00:00:00 2001 From: Jonathan Amsterdam Date: Wed, 12 Apr 2023 09:11:59 -0400 Subject: 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 Reviewed-by: Alan Donovan Run-TryBot: Jonathan Amsterdam --- api/next/59060.txt | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 api/next/59060.txt (limited to 'api') 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 + -- cgit v1.3-5-g9baa