commit | 1a57ae3a7d2e33531ce26fa2d2fefaae679b6eeb | [log] [tgz] |
---|---|---|
author | Mark Salyzyn <salyzyn@google.com> | Fri Nov 11 14:41:30 2016 -0800 |
committer | Mark Salyzyn <salyzyn@google.com> | Tue Nov 15 14:46:34 2016 -0800 |
tree | 7cbcacaa7030403c4672f5336e1e4136c95b5f90 | |
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