Merge "liblog: add bool to android_log_event_list" am: d105aa8496

am: 16d6ed1845

Change-Id: I2ab2284780ec03716c476d09b7988d07eb18331d
This commit is contained in:
Mark Salyzyn 2017-06-05 17:44:15 +00:00 committed by android-build-merger
commit e19946d27c
1 changed files with 6 additions and 0 deletions

View File

@ -177,6 +177,12 @@ class android_log_event_list {
return *this;
}
android_log_event_list& operator<<(bool value) {
int retval = android_log_write_int32(ctx, value ? 1 : 0);
if (retval < 0) ret = retval;
return *this;
}
android_log_event_list& operator<<(int64_t value) {
int retval = android_log_write_int64(ctx, value);
if (retval < 0) ret = retval;