aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2020-01-30 17:32:23 -0800
committerIan Lance Taylor <iant@golang.org>2020-01-31 06:02:00 +0000
commitb7689f5aa38b41c8fbd75d64aa463b898c81fca5 (patch)
treecfd27684a7ba16c6d12f83f92272bb26826294ff
parent0eb49f67d467c93383a4d4917c9bd4d9e9f51671 (diff)
downloadgo-b7689f5aa38b41c8fbd75d64aa463b898c81fca5.tar.gz
go-b7689f5aa38b41c8fbd75d64aa463b898c81fca5.zip
doc/go1.14: mention new log.Lmsgprefix flag
Updates #32062 Updates #36878 Change-Id: I06c7c9a9d253177155a6d46d58231ce26e659757 Reviewed-on: https://go-review.googlesource.com/c/go/+/217126 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-rw-r--r--doc/go1.14.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/go1.14.html b/doc/go1.14.html
index ff42e05155..e2ac1672db 100644
--- a/doc/go1.14.html
+++ b/doc/go1.14.html
@@ -482,6 +482,18 @@ TODO
</dl><!-- encoding/json -->
+<dl id="log"><dt><a href="/pkg/log/">log</a></dt>
+ <dd>
+ <p><!-- CL 186182 -->
+ The
+ new <a href="https://tip.golang.org/pkg/log/#pkg-constants"><code>Lmsgprefix</code></a>
+ flag may be used to tell the logging functions to emit the
+ optional output prefix immediately before the log message rather
+ than at the start of the line.
+ </p>
+ </dd>
+</dl><!-- log -->
+
<dl id="go/doc"><dt><a href="/go/doc/">go/doc</a></dt>
<dd>
<p><!-- CL 204830 -->