mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
![]() The majority already did so, but a few used %v. Compared with %v using %q escapes any control characters ensuring they are visible in the logs (otherwise they can cause scrolling and overwriting etc). The %q formatter also includes the surrounding "s making the manual use of [] to wrap/delimit the %v output unnecessary. Signed-off-by: Ian Campbell <ian.campbell@docker.com> |
||
---|---|---|
.. | ||
jsonmessage.go | ||
jsonmessage_test.go |