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

@@ -58,6 +58,7 @@ public class EntityLog {
public Long time;
@NonNull
public Type type = Type.General;
public Long thread;
public Long account;
public Long folder;
public Long message;
@@ -127,6 +128,7 @@ public class EntityLog {
final EntityLog entry = new EntityLog();
entry.time = new Date().getTime();
entry.type = type;
entry.thread = Thread.currentThread().getId();
entry.account = account;
entry.folder = folder;
entry.message = message;