mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-09-28 18:33:45 +08:00
logcat: include all logs since boot (#23692)
old-commit-hash: 5a9657cad5e5f4c140c1bf1c3a35b11a0cf11eb1
This commit is contained in:
@@ -14,10 +14,8 @@ int main() {
|
||||
ExitHandler do_exit;
|
||||
PubMaster pm({"androidLog"});
|
||||
|
||||
struct timespec cur_time;
|
||||
clock_gettime(CLOCK_REALTIME, &cur_time);
|
||||
log_time last_log_time(cur_time);
|
||||
logger_list *logger_list = nullptr;
|
||||
log_time last_log_time = {};
|
||||
logger_list *logger_list = android_logger_list_alloc(ANDROID_LOG_RDONLY | ANDROID_LOG_NONBLOCK, 0, 0);
|
||||
|
||||
while (!do_exit) {
|
||||
// setup android logging
|
||||
|
||||
Reference in New Issue
Block a user