Replaced logcat by TinyLog

This commit is contained in:
M66B
2023-12-14 13:18:41 +01:00
parent 5b96003259
commit 37dea4eb32
14 changed files with 205 additions and 70 deletions

View File

@@ -67,6 +67,7 @@ public class ApplicationEx extends Application
@Override
protected void attachBaseContext(Context base) {
TinyLogConfigurationLoader.setup(base);
super.attachBaseContext(getLocalizedContext(base));
}
@@ -401,10 +402,6 @@ public class ApplicationEx extends Application
// Should be excluded for import
restart(this, key);
break;
case "debug":
case "log_level":
Log.setLevel(this);
break;
}
} catch (Throwable ex) {
Log.e(ex);