remove logs

sync2
Laurent 11 months ago
parent 4c5105f4c3
commit fb9d60ffd2
  1. 3
      LeStorage/StoredCollection.swift

@ -433,7 +433,6 @@ public class StoredCollection<T: Storable>: RandomAccessCollection, SomeCollecti
/// - instance: the object to POST
fileprivate func _sendInsertionIfNecessary(_ instance: T) {
guard self.synchronized else {
StoreCenter.main.log(message: "cannot send insert: \(T.resourceName()), \(StoreCenter.main.userName() ?? "no user") : sync = \(self.synchronized)")
return
}
Task {
@ -464,7 +463,6 @@ public class StoredCollection<T: Storable>: RandomAccessCollection, SomeCollecti
/// - instance: the object to PUT
fileprivate func _sendUpdateIfNecessary(_ instance: T) {
guard self.synchronized, self._sendsUpdate else {
StoreCenter.main.log(message: "cannot send update: \(T.resourceName()), \(StoreCenter.main.userName() ?? "no user") : sync = \(self.synchronized), self._sendsUpdate = \(self._sendsUpdate)")
return
}
Task {
@ -482,7 +480,6 @@ public class StoredCollection<T: Storable>: RandomAccessCollection, SomeCollecti
/// - instance: the object to DELETE
fileprivate func _sendDeletionIfNecessary(_ instance: T) {
guard self.synchronized else {
StoreCenter.main.log(message: "cannot send delete: \(T.resourceName()), \(StoreCenter.main.userName() ?? "no user") : sync = \(self.synchronized)")
return
}
Task {

Loading…
Cancel
Save