mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-05 00:23:09 +02:00
Added debug log type
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user