-
Notifications
You must be signed in to change notification settings - Fork 175
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
apidump: Use logcat instead of stdout for Android
Make the apidump output to go to logcat instead of stdout on Android. * Implement the AndroidLogcatBuf class that derives from std::streambuf which writes to the Android logcat on a per-line basis. * Modify ApiDumpSettings to hold an instance of AndroidLogcatBuf, and make the output_stream to use that streambuf instead of the iostream one at initialization.
- Loading branch information
Showing
1 changed file
with
92 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters