Tweaking the logging to be more useful.
This commit is contained in:
parent
0d20bccc55
commit
2ecdf92f40
|
@ -53,6 +53,8 @@ final class FeedlySyncStarredArticlesOperation: FeedlyOperation {
|
|||
let syncSaved = FeedlyCompoundOperation {
|
||||
|
||||
let saved = FeedlyTagResourceId.saved(for: user)
|
||||
os_log(.debug, log: log, "Getting starred articles from \"%@\".", saved.id)
|
||||
|
||||
let getSavedStream = FeedlyGetStreamOperation(account: account,
|
||||
resource: saved,
|
||||
caller: caller,
|
||||
|
@ -98,8 +100,6 @@ final class FeedlySyncStarredArticlesOperation: FeedlyOperation {
|
|||
|
||||
finalOperation.addDependency(syncSaved)
|
||||
operationQueue.addOperations([syncSaved, finalOperation], waitUntilFinished: false)
|
||||
|
||||
os_log(.debug, log: log, "Syncing starred articles.")
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -41,7 +41,7 @@ final class FeedlyUpdateAccountFeedsWithItemsOperation: FeedlyOperation {
|
|||
feedIDsAndItems[feed.feedID] = items
|
||||
}
|
||||
account.update(feedIDsAndItems: feedIDsAndItems, defaultRead: true) {
|
||||
os_log(.debug, log: self.log, "Finished updating feeds in collection \"%@\"", self.organisedItemsProvider.providerName)
|
||||
os_log(.debug, log: self.log, "Finished updating feeds for \"%@\"", self.organisedItemsProvider.providerName)
|
||||
self.didFinish()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue