Add logcat APIs. Bug: None Test: Using this in the NDK Change-Id: I8becab8a0697f2378f1ce472091be497ba13c848