commit | 9a3e6036ecaa863d993f4f9bc3aeb4258fc9346c | [log] [tgz] |
---|---|---|
author | Jonathan Amsterdam <jba@google.com> | Fri Nov 10 07:24:25 2023 -0500 |
committer | Jonathan Amsterdam <jba@google.com> | Fri Nov 10 20:32:33 2023 +0000 |
tree | cb7eedd4f891b8be471f36705f8354a1e6b96f19 | |
parent | 2478ac86f6784cc492495a49c25cd184d471d9de [diff] |
slog: catch panics during formatting This is a port of https://go.dev/cl/514135 to exp/slog. Fixes #64034. Change-Id: Icd632a04aba4329d50be8a6d18cb5e646d27dbf8 Reviewed-on: https://go-review.googlesource.com/c/exp/+/541435 Run-TryBot: Jonathan Amsterdam <jba@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> 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.