go/src/log
Tim Cooper 8cc57c0ccc log: add Lmsgprefix flag
The Lmsgprefix flag moves the logger's prefix from the
beginning of the line to after the log header. For example,
a logger with the prefix "LOG " and LstdFlags would output:

    LOG 2009/11/10 23:00:00 entry text

Adding the Lmsgprefix flag would output:

    2009/11/10 23:00:00 LOG entry text

Fixes #32062

Change-Id: I9f7c9739abeb53c424112aaeed33444eeefdfbbc
Reviewed-on: https://go-review.googlesource.com/c/go/+/186182
Run-TryBot: Rob Pike <r@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rob Pike <r@golang.org>
2019-09-13 23:21:54 +00:00
..
syslog log/syslog: skip unsupported tests on iOS 2019-09-07 21:44:30 +00:00
example_test.go log: adds a Logger Output method Example 2017-07-16 03:57:11 +00:00
log.go log: add Lmsgprefix flag 2019-09-13 23:21:54 +00:00
log_test.go log: add Lmsgprefix flag 2019-09-13 23:21:54 +00:00