commit | 95083279998ec49f721d167d7adb575d03d76142 | [log] [tgz] |
---|---|---|
author | Jonathan Amsterdam <jba@google.com> | Sun Feb 05 09:40:18 2023 -0500 |
committer | Jonathan Amsterdam <jba@google.com> | Fri Feb 10 20:37:40 2023 +0000 |
tree | b7c9eac61e6e27caec42e906f25b57b3be2f283e | |
parent | 766ae7250b9c9ba5172db33b1cdff0b3217c26d8 [diff] |
slog: inline a group with an empty key If a group Attr has an empty key, inline the group's members; that is, do not qualify them by the group name. This enables a LogValuer to insert more than one Attr into the output. One case where that is useful is when the downstream log processor does not support groups. Change-Id: Iaf6b067ea4a0497717176d66857a318a513943f4 Reviewed-on: https://go-review.googlesource.com/c/exp/+/465377 Run-TryBot: Jonathan Amsterdam <jba@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Russ Cox <rsc@golang.org>
This subrepository holds experimental and deprecated (in the old
directory) packages.
The idea for this subrepository originated as the pkg/exp
directory of the main repository, but its presence there made it unavailable to users of the binary downloads of the Go installation. The subrepository has therefore been created to make it possible to go get
these packages.
Warning: Packages here are experimental and unreliable. Some may one day be promoted to the main repository or other subrepository, or they may be modified arbitrarily or even disappear altogether.
In short, code in this subrepository is not subject to the Go 1 compatibility promise. (No subrepo is, but the promise is even more likely to be violated by go.exp than the others.)
Caveat emptor.