mirror of https://github.com/M66B/FairEmail.git
Log thread name
This commit is contained in:
parent
ec9947aad2
commit
4775dce9ba
|
@ -231,7 +231,7 @@ class Core {
|
||||||
if (op.message != null)
|
if (op.message != null)
|
||||||
crumb.put("message", Long.toString(op.message));
|
crumb.put("message", Long.toString(op.message));
|
||||||
crumb.put("similar", TextUtils.join(",", sids));
|
crumb.put("similar", TextUtils.join(",", sids));
|
||||||
crumb.put("thread", Long.toString(Thread.currentThread().getId()));
|
crumb.put("thread", Thread.currentThread().getName());
|
||||||
crumb.put("free", Integer.toString(Log.getFreeMemMb()));
|
crumb.put("free", Integer.toString(Log.getFreeMemMb()));
|
||||||
Log.breadcrumb("start operation", crumb);
|
Log.breadcrumb("start operation", crumb);
|
||||||
|
|
||||||
|
@ -362,7 +362,7 @@ class Core {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
crumb.put("thread", Long.toString(Thread.currentThread().getId()));
|
crumb.put("thread", Thread.currentThread().getName());
|
||||||
crumb.put("free", Integer.toString(Log.getFreeMemMb()));
|
crumb.put("free", Integer.toString(Log.getFreeMemMb()));
|
||||||
Log.breadcrumb("end operation", crumb);
|
Log.breadcrumb("end operation", crumb);
|
||||||
|
|
||||||
|
|
|
@ -299,7 +299,7 @@ public class Log {
|
||||||
public boolean run(@NonNull Error error) {
|
public boolean run(@NonNull Error error) {
|
||||||
error.addToTab("extra", "installer", installer == null ? "-" : installer);
|
error.addToTab("extra", "installer", installer == null ? "-" : installer);
|
||||||
error.addToTab("extra", "fingerprint", fingerprint);
|
error.addToTab("extra", "fingerprint", fingerprint);
|
||||||
error.addToTab("extra", "thread", Thread.currentThread().getId());
|
error.addToTab("extra", "thread", Thread.currentThread().getName());
|
||||||
error.addToTab("extra", "free", Log.getFreeMemMb());
|
error.addToTab("extra", "free", Log.getFreeMemMb());
|
||||||
|
|
||||||
String theme = prefs.getString("theme", "light");
|
String theme = prefs.getString("theme", "light");
|
||||||
|
|
Loading…
Reference in New Issue