commit | 13299074b82bbfc1985f4f92a42c85e6e89f179b | [log] [tgz] |
---|---|---|
author | Jonathan Amsterdam <jba@google.com> | Fri Mar 03 13:14:07 2023 -0500 |
committer | Jonathan Amsterdam <jba@google.com> | Fri Mar 03 20:39:34 2023 +0000 |
tree | 81418995c6d659e66cd4e74a49477da1b9164280 | |
parent | c95f2b4c22f226b18030fd3b7d5cd47e0d12395a [diff] |
slog: clean up low-level logging functions Simplify the code that all logging methods call. We can remove some cruft and slim down to two very similar methods. Change-Id: I20eba84146bcfb110f3f1852f04dfe3d350b69c6 Reviewed-on: https://go-review.googlesource.com/c/exp/+/473215 TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Jonathan Amsterdam <jba@google.com> Reviewed-by: Alan Donovan <adonovan@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.