commit | ddaa976d14a4c19293cb29151aae208eedea4b62 | [log] [tgz] |
---|---|---|
author | Marcel van Lohuizen <mpvl@golang.org> | Tue Nov 06 18:09:58 2018 +0100 |
committer | Marcel van Lohuizen <mpvl@golang.org> | Mon Nov 26 08:57:10 2018 +0000 |
tree | d40597c3b495818e15b1d1065510c8d2701d58aa | |
parent | a3060d491354240eda536d676ced8bb702018b7e [diff] |
errors/fmt: change format of detail printing Every line after the first message now has some whitespace as prefix. This should make it easier for loggers such as Logstash and Splunk to detect a single logged error. See https://gist.github.com/carlpett/bc1714060235edc0ad3fd9ead82f4ce6. Change-Id: Ifb35dad6d82454ad3e49d4905132110ff4d9324e Reviewed-on: https://go-review.googlesource.com/c/147797 Run-TryBot: Marcel van Lohuizen <mpvl@golang.org> Reviewed-by: Damien Neil <dneil@google.com> Reviewed-by: Russ Cox <rsc@golang.org>
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.