logcat: switch to android::base::StringPrintf

asprintf should be replaced with StringPrintf, solves
a memory leak issue because of exiting scope.

Bug: 30591615
Change-Id: I88644cc27946ba4f25d4539420199c6f40df1bfa
1 file changed
tree: 363137b1e63f21ebe4508400c0d2cdad879fb584
  1. liblog/
  2. logcat/
  3. logd/
  4. logwrapper/