mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 14:17:03 +02:00
Added tag to protocol dump
This commit is contained in:
@@ -885,11 +885,11 @@ public class EmailService implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
public void dump() {
|
||||
EntityLog.log(context, EntityLog.Type.Protocol, "Dump start");
|
||||
public void dump(String tag) {
|
||||
EntityLog.log(context, EntityLog.Type.Protocol, "Dump start " + tag);
|
||||
while (breadcrumbs != null && !breadcrumbs.isEmpty())
|
||||
EntityLog.log(context, EntityLog.Type.Protocol, "Dump " + breadcrumbs.pop());
|
||||
EntityLog.log(context, EntityLog.Type.Protocol, "Dump end");
|
||||
EntityLog.log(context, EntityLog.Type.Protocol, "Dump end" + tag);
|
||||
}
|
||||
|
||||
private static class SocketFactoryService extends SocketFactory {
|
||||
|
||||
Reference in New Issue
Block a user