diff options
author | Mark Salyzyn <salyzyn@google.com> | 2016-11-11 14:41:30 -0800 |
---|---|---|
committer | Mark Salyzyn <salyzyn@google.com> | 2016-11-15 14:46:34 -0800 |
commit | 1a57ae3a7d2e33531ce26fa2d2fefaae679b6eeb (patch) | |
tree | 7cbcacaa7030403c4672f5336e1e4136c95b5f90 /libcutils/sockets_unix.cpp | |
parent | 787482ecd9658b3078044aa287680b32795c2375 (diff) |
liblog: logprint: report truncated event log contents if error
We need to accept that a log tag can contain no payload. For those
that are corrupted, and to aid debugging, report what we did manage
to interpret. Report last character as a ! for corruption, and ^
for truncation. Fix a few Android Coding standard issues.
Test: gTest logcat-unit-tests
Bug: 32903864
Change-Id: Id11bef3a7b6569305c51701dd66c45d2038d6628
Diffstat (limited to 'libcutils/sockets_unix.cpp')
0 files changed, 0 insertions, 0 deletions