aboutsummaryrefslogtreecommitdiff
path: root/src/encoding/json/encode.go
diff options
context:
space:
mode:
authorTim Cooper <tim.cooper@layeh.com>2019-07-15 17:54:23 -0500
committerRob Pike <r@golang.org>2019-09-13 23:21:54 +0000
commit8cc57c0ccc882a06352e6ad73cb7c281d34be3ef (patch)
tree2ba7f4842feb71b5f1508b87403e1050f9cf2a90 /src/encoding/json/encode.go
parent24781a1faf62ac5c9a553af6f46b787e972f5539 (diff)
downloadgo-8cc57c0ccc882a06352e6ad73cb7c281d34be3ef.tar.xz
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>
Diffstat (limited to 'src/encoding/json/encode.go')
0 files changed, 0 insertions, 0 deletions