aboutsummaryrefslogtreecommitdiff
path: root/src/log/slog/multi_handler.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/log/slog/multi_handler.go')
-rw-r--r--src/log/slog/multi_handler.go4
1 files 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
}