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