mirror of
https://github.com/golang/go
synced 2024-11-26 16:16:57 -07:00
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>
This commit is contained in:
parent
0eb49f67d4
commit
b7689f5aa3
@ -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 -->
|
||||
|
Loading…
Reference in New Issue
Block a user