Added thread to main log

This commit is contained in:
M66B
2023-03-21 17:35:30 +01:00
parent e48cfafb60
commit 7c0d50203a
4 changed files with 2948 additions and 2 deletions

View File

@@ -2735,9 +2735,10 @@ public class Log {
DateFormat TF = Helper.getTimeInstance(context);
for (EntityLog entry : db.log().getLogs(from, null)) {
size += write(os, String.format("%s [%d:%d:%d:%d] %s\r\n",
size += write(os, String.format("%s [%d:%d:%d:%d:%d] %s\r\n",
TF.format(entry.time),
entry.type.ordinal(),
(entry.thread == null ? 0 : entry.thread),
(entry.account == null ? 0 : entry.account),
(entry.folder == null ? 0 : entry.folder),
(entry.message == null ? 0 : entry.message),