diff --git a/liblog/include/log/log_event_list.h b/liblog/include/log/log_event_list.h index 057be5d56..bb1ce3485 100644 --- a/liblog/include/log/log_event_list.h +++ b/liblog/include/log/log_event_list.h @@ -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;