forked from golang/glog
-
Notifications
You must be signed in to change notification settings - Fork 214
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
structured logging: avoid quoting of strings with line breaks
It makes the output harder to read, in particular when the string is long (see kubernetes/kubernetes#104868). The revised handling of key/value pairs will produce the following output for two key/value pairs where the first one has a multi-line string as value: multiLineString=vvvvv string vvvvv Hello world! Starts with tab. Starts with spaces. No whitespace. ^^^^^ string ^^^^^ pod="kubedns"
- Loading branch information
Showing
2 changed files
with
34 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters