commit | aae9b4e6329d80d3daf083f483c0057c9145657e | [log] [tgz] |
---|---|---|
author | Jonathan Amsterdam <jba@google.com> | Mon Jan 30 16:00:23 2023 -0500 |
committer | Jonathan Amsterdam <jba@google.com> | Tue Jan 31 01:39:36 2023 +0000 |
tree | eab53dbffba497da61036dd3b6edf0d6d24ff6b8 | |
parent | 8bd7c9d058621018a577674a41d37779e13350cd [diff] |
slog: Logger.Error puts error attribute first Logger.Error adds its error argument at the beginning of the Record to match its own argument order, instead of at the end. Change-Id: Ie7b4915a21921ef428794e22b59b51f99ce9fa23 Reviewed-on: https://go-review.googlesource.com/c/exp/+/464101 Reviewed-by: Alan Donovan <adonovan@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Jonathan Amsterdam <jba@google.com>
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.