Merge "VS: Log to system log"

This commit is contained in:
Treehugger Robot 2022-02-28 11:28:02 +00:00 committed by Gerrit Code Review
commit c421b5366d
1 changed files with 4 additions and 1 deletions

View File

@ -40,7 +40,10 @@ type Cid = u32;
fn main() {
android_logger::init_once(
android_logger::Config::default().with_tag(LOG_TAG).with_min_level(Level::Info),
android_logger::Config::default()
.with_tag(LOG_TAG)
.with_min_level(Level::Info)
.with_log_id(android_logger::LogId::System),
);
clear_temporary_files().expect("Failed to delete old temporary files");