diff options
| author | Rhys Hiltner <rhys.hiltner@gmail.com> | 2026-02-03 09:00:51 -0800 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2026-02-06 09:30:23 -0800 |
| commit | 27c910a2546236f83ef44956bcb8545779b84edc (patch) | |
| tree | 7c1edab7c1a3cbb8d42c4dfccd04aff6e66b5874 | |
| parent | cc8cfbee7b3ea15449af540bf18a53785aa00fc0 (diff) | |
| download | go-x-website-27c910a2546236f83ef44956bcb8545779b84edc.tar.xz | |
_content/doc/go1.26: fix typos in slog.MultiHandler doc
Note that this matches the (incorrect) docs on the type itself, which
must be fixed in the main project's repo. See CL 741560.
For golang/go#75005
For golang/go#77428
Change-Id: I980f5f0f672b4039f20c5fc8e3072865eb5389c2
Reviewed-on: https://go-review.googlesource.com/c/website/+/741244
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Rhys Hiltner <rhys.hiltner@gmail.com>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
| -rw-r--r-- | _content/doc/go1.26.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/_content/doc/go1.26.md b/_content/doc/go1.26.md index 1839018e..695d5094 100644 --- a/_content/doc/go1.26.md +++ b/_content/doc/go1.26.md @@ -530,9 +530,9 @@ as much total memory, with more benefit for larger inputs. The [`NewMultiHandler`](/pkg/log/slog#NewMultiHandler) function creates a [`MultiHandler`](/pkg/log/slog#MultiHandler) that invokes all the given Handlers. -Its `Enable` method reports whether any of the handlers' `Enabled` methods +Its `Enabled` method reports whether any of the handlers' `Enabled` methods return true. -Its `Handle`, `WithAttr` and `WithGroup` methods call the corresponding method +Its `Handle`, `WithAttrs` and `WithGroup` methods call the corresponding method on each of the enabled handlers. #### [`net`](/pkg/net/) |
