commit | 9ed153238dd9164477a8c529eb5fb515da8552d8 | [log] [tgz] |
---|---|---|
author | Jonathan Amsterdam <jba@google.com> | Wed Oct 05 08:39:44 2022 -0400 |
committer | Jonathan Amsterdam <jba@google.com> | Tue Oct 11 18:43:45 2022 +0000 |
tree | 11e59e35861a0a800f513f1804fe0f264ec8d15a | |
parent | 09be386ac7dbbe47e1825ce87dc93fccb1c114ca [diff] |
slog: reimplement defaultHandler using commonHandler The defaultHandler can be viewed as a variant of a TextHandler. Re-use commonHandler to implement it. Test groups, Marshaler and scopes for it. Change-Id: I7600e5b82d4d8189024ae94f760848eaedf5d4db Reviewed-on: https://go-review.googlesource.com/c/exp/+/439055 Reviewed-by: Alan Donovan <adonovan@google.com> 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.