mirror of https://github.com/M66B/FairEmail.git
Added account, folder, message to log.txt
This commit is contained in:
parent
3e7043f021
commit
8c5c22ea79
|
@ -2098,8 +2098,13 @@ public class Log {
|
||||||
DateFormat TF = Helper.getTimeInstance(context);
|
DateFormat TF = Helper.getTimeInstance(context);
|
||||||
|
|
||||||
for (EntityLog entry : db.log().getLogs(from, null))
|
for (EntityLog entry : db.log().getLogs(from, null))
|
||||||
size += write(os, String.format("%s [%d] %s\r\n",
|
size += write(os, String.format("%s [%d:%d:%d:%d] %s\r\n",
|
||||||
TF.format(entry.time), entry.type.ordinal(), entry.data));
|
TF.format(entry.time),
|
||||||
|
entry.type.ordinal(),
|
||||||
|
(entry.account == null ? 0 : entry.account),
|
||||||
|
(entry.folder == null ? 0 : entry.folder),
|
||||||
|
(entry.message == null ? 0 : entry.message),
|
||||||
|
entry.data));
|
||||||
}
|
}
|
||||||
|
|
||||||
db.attachment().setDownloaded(attachment.id, size);
|
db.attachment().setDownloaded(attachment.id, size);
|
||||||
|
|
Loading…
Reference in New Issue