mirror of
https://github.com/golang/go
synced 2024-11-17 04:34:46 -07:00
log/slog: doc commonHandler.handle
Change-Id: Id301b772e472e1cb7cd8bccaa5a13ff7b6f94711 Reviewed-on: https://go-review.googlesource.com/c/go/+/509596 Run-TryBot: Jonathan Amsterdam <jba@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Bryan Mills <bcmills@google.com>
This commit is contained in:
parent
847d40d699
commit
fe5af1532a
@ -253,6 +253,8 @@ func (h *commonHandler) withGroup(name string) *commonHandler {
|
||||
return h2
|
||||
}
|
||||
|
||||
// handle is the internal implementation of Handler.Handle
|
||||
// used by TextHandler and JSONHandler.
|
||||
func (h *commonHandler) handle(r Record) error {
|
||||
state := h.newHandleState(buffer.New(), true, "")
|
||||
defer state.free()
|
||||
|
Loading…
Reference in New Issue
Block a user