mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-05 00:23:09 +02:00
Deafult JNI log level
This commit is contained in:
@@ -77,8 +77,7 @@ public class FairEmailLoggingProvider extends TinylogLoggingProvider {
|
||||
if (debug)
|
||||
provider.activeLevel = Level.DEBUG;
|
||||
else {
|
||||
int def = (BuildConfig.DEBUG || BuildConfig.TEST_RELEASE ? android.util.Log.INFO : android.util.Log.WARN);
|
||||
int _level = prefs.getInt("log_level", def);
|
||||
int _level = prefs.getInt("log_level", Log.getDefaultLogLevel());
|
||||
if (_level == android.util.Log.VERBOSE)
|
||||
provider.activeLevel = Level.TRACE;
|
||||
else if (_level == android.util.Log.DEBUG)
|
||||
|
||||
Reference in New Issue
Block a user