From ae842f71461ad178eff7283bc36e150fe284b9aa Mon Sep 17 00:00:00 2001 From: Rhys Hiltner Date: Tue, 3 Feb 2026 09:23:33 -0800 Subject: [PATCH] log/slog: correct method names in MultiHandler docs Fixes #77428 Change-Id: I02d76ac9220fb2e0df404e4a446953bc0b56475f Reviewed-on: https://go-review.googlesource.com/c/go/+/741560 Auto-Submit: Rhys Hiltner LUCI-TryBot-Result: Go LUCI Reviewed-by: Michael Knyszek Reviewed-by: Dmitri Shuralyov Reviewed-by: Dmitri Shuralyov --- src/log/slog/multi_handler.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/log/slog/multi_handler.go b/src/log/slog/multi_handler.go index 4cc802b29b..1ee798db37 100644 --- a/src/log/slog/multi_handler.go +++ b/src/log/slog/multi_handler.go @@ -17,8 +17,8 @@ func NewMultiHandler(handlers ...Handler) *MultiHandler { } // MultiHandler is a [Handler] that invokes all the given Handlers. -// Its Enable method reports whether any of the handlers' Enabled methods return true. -// Its Handle, WithAttr and WithGroup methods call the corresponding method on each of the enabled handlers. +// Its Enabled method reports whether any of the handlers' Enabled methods return true. +// Its Handle, WithAttrs and WithGroup methods call the corresponding method on each of the enabled handlers. type MultiHandler struct { multi []Handler } -- 2.52.0