Escape newlines in `-v printable`.

I have no reason to believe this wasn't a bug --- it certainly seems
like the only use for a newline within a log line is mischief (spoofing
log lines, for example).

Bug: http://b/244624856
Test: treehugger
Change-Id: I71611c91a3d3cac321879ec416cd12798b2c86d8
2 files changed
tree: b9dad30126dd7091847acfcfb1d1f63856f753e3
  1. liblog/
  2. logcat/
  3. logd/
  4. logwrapper/
  5. rust/
  6. OWNERS
  7. PREUPLOAD.cfg
  8. TEST_MAPPING