Added bread crumbs

This commit is contained in:
M66B
2021-09-16 08:13:34 +02:00
parent 8c7bbd77e1
commit d3048fe62a
4 changed files with 27 additions and 4 deletions

View File

@@ -461,7 +461,13 @@ public class EntityOperation {
}
int count = db.operation().deleteOperation(fid, SYNC);
Log.i("Deleted stale sync=" + count);
Map<String, String> crumb = new HashMap<>();
crumb.put("folder", Long.toString(fid));
crumb.put("stale", Integer.toString(count));
crumb.put("force", Boolean.toString(force));
Log.breadcrumb("Poll", crumb);
sync(context, fid, false, force);
}