commit | 642cacee5cc05231f45555a333d07f1005ffc287 | [log] [tgz] |
---|---|---|
author | Jonathan Amsterdam <jba@google.com> | Wed Mar 15 09:22:56 2023 -0400 |
committer | Jonathan Amsterdam <jba@google.com> | Wed Mar 15 14:24:52 2023 +0000 |
tree | 365664c1264538e436fb2709d47ee0ad35bf149e | |
parent | db074128a8ec7a8f3c962aa7a131dba993519cf2 [diff] |
slog: TextHandler uses %+v In the general case, format values with %+v instead of %v. This adds struct field names to the output. Change-Id: Ib53f5e3a8837aa987deb4b6ba3dd7f549a54e2ce Reviewed-on: https://go-review.googlesource.com/c/exp/+/476435 Run-TryBot: Jonathan Amsterdam <jba@google.com> Reviewed-by: Alan Donovan <adonovan@google.com> TryBot-Result: Gopher Robot <gobot@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.