commit | 3999bb43208d0d11563e1abbeb56dfee87d44a72 | [log] [tgz] |
---|---|---|
author | Jonathan Amsterdam <jba@google.com> | Fri Apr 16 14:27:06 2021 -0400 |
committer | Jonathan Amsterdam <jba@google.com> | Wed Jun 02 13:45:03 2021 +0000 |
tree | 159bb0e081505ba2375b2e9b518dfc06093c6ff2 | |
parent | 9e70acc10e1278cad60c1a7bef64bc90965bc494 [diff] |
event/logging: event adapters for logging This CL has event adapters for the four most popular logging packages. Each adapter constructs an event and exports it. Sometimes an adapter must be configured with the exporter it will write to (via a context), because the logging API doesn't support contexts. Change-Id: Ie570ef6db5d589bb4d4a01406d3accde8f6141b9 Reviewed-on: https://go-review.googlesource.com/c/exp/+/315549 Trust: Jonathan Amsterdam <jba@google.com> Run-TryBot: Jonathan Amsterdam <jba@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Ian Cottrell <iancottrell@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.