1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-28 10:47:28 +00:00

Dump is protocol log

This commit is contained in:
M66B 2022-01-06 09:47:28 +01:00
parent dc6db08940
commit b62bdd4ae9

View file

@ -887,10 +887,10 @@ public class EmailService implements AutoCloseable {
}
public void dump() {
EntityLog.log(context, "Dump start");
EntityLog.log(context, EntityLog.Type.Protocol, "Dump start");
while (breadcrumbs != null && !breadcrumbs.isEmpty())
EntityLog.log(context, "Dump " + breadcrumbs.pop());
EntityLog.log(context, "Dump end");
EntityLog.log(context, EntityLog.Type.Protocol, "Dump " + breadcrumbs.pop());
EntityLog.log(context, EntityLog.Type.Protocol, "Dump end");
}
private static class SocketFactoryService extends SocketFactory {