logcat: remove the rest of liblogcat

There were big changes made to support liblogcat, which has long since
been removed.  This change removes the rest of those changes.

It moves the rest of the global state into a class, particularly for
the logcatd case.  The original code re-uses the same context, but
that doesn't seem right or safe.

Test: logcat works, logcat-unit-tests
Test: logpersist works, including last log cat and log rotation
Change-Id: Iee6a2a0319265e87be0bc8fec2b11e8fd2b65ed4
5 files changed
tree: 54b24a62d5a9c1f5a769b595f018c81d28dcce08
  1. liblog/
  2. logcat/
  3. logd/
  4. logwrapper/