Added debug log type

This commit is contained in:
M66B 2021-08-16 09:54:38 +02:00
parent 67d4e4049d
commit 1836f0569c
1 changed files with 2 additions and 1 deletions

View File

@ -2098,7 +2098,8 @@ 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 %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); db.attachment().setDownloaded(attachment.id, size);