mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-30 19:56:10 +00:00
Improved debug info
This commit is contained in:
parent
a50a83824b
commit
2541a2ef69
1 changed files with 9 additions and 6 deletions
|
@ -2085,13 +2085,16 @@ public class Log {
|
|||
boolean auto_optimize = prefs.getBoolean("auto_optimize", false);
|
||||
boolean schedule = prefs.getBoolean("schedule", false);
|
||||
|
||||
size += write(os, "enabled=" + enabled +
|
||||
boolean vpn = ConnectionHelper.vpnActive(context);
|
||||
boolean netguard = Helper.isInstalled(context, "eu.faircode.netguard");
|
||||
|
||||
size += write(os, "enabled=" + enabled + (enabled ? "" : " !!!") +
|
||||
" interval=" + pollInterval + "\r\n" +
|
||||
"metered=" + metered +
|
||||
" VPN=" + ConnectionHelper.vpnActive(context) +
|
||||
" NetGuard=" + Helper.isInstalled(context, "eu.faircode.netguard") + "\r\n" +
|
||||
"optimizing=" + (ignoring == null ? null : !ignoring) +
|
||||
" auto_optimize=" + auto_optimize + "\r\n" +
|
||||
"metered=" + metered + (metered ? "" : " !!!") +
|
||||
" VPN=" + vpn + (vpn ? " !!!" : "") +
|
||||
" NetGuard=" + netguard + "\r\n" +
|
||||
"optimizing=" + (ignoring == null ? null : !ignoring) + (Boolean.FALSE.equals(ignoring) ? " !!!" : "") +
|
||||
" auto_optimize=" + auto_optimize + (auto_optimize ? " !!!" : "") + "\r\n" +
|
||||
"accounts=" + accounts.size() +
|
||||
" folders=" + db.folder().countTotal() +
|
||||
" messages=" + db.message().countTotal() +
|
||||
|
|
Loading…
Reference in a new issue