]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.14: mention new log.Lmsgprefix flag
authorIan Lance Taylor <iant@golang.org>
Fri, 31 Jan 2020 01:32:23 +0000 (17:32 -0800)
committerIan Lance Taylor <iant@golang.org>
Fri, 31 Jan 2020 06:02:00 +0000 (06:02 +0000)
Updates #32062
Updates #36878

Change-Id: I06c7c9a9d253177155a6d46d58231ce26e659757
Reviewed-on: https://go-review.googlesource.com/c/go/+/217126
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
doc/go1.14.html

index ff42e05155b3ea205104dcf1f0bf47ac0d6e7ead..e2ac1672dbea84b864ac5833d8cf9e0d2dc9fdaf 100644 (file)
@@ -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 -->