logd: add a SerializedLogBuffer suitable for compression

Initial commit for a SerializedLogBuffer.  The intention here is for
the serialized data to be compressed (currently using zlib) to allow
for substantially longer logs in the same memory footprint.

Test: unit tests
Change-Id: I2528e4e1ff1cf3bc91130173a107f371f04d911a
17 files changed
tree: abd914066750f380dc2d39cd58bf7735b5829d32
  1. liblog/
  2. logcat/
  3. logd/
  4. logwrapper/