Use os_log instead of print.

This commit is contained in:
Brent Simmons
2024-11-30 10:27:08 -08:00
parent ae8bcdfd7c
commit 265b7035ed

View File

@@ -12,6 +12,7 @@ import RSParser
import RSWeb
import Articles
import ArticlesDatabase
import os
protocol LocalAccountRefresherDelegate {
func localAccountRefresher(_ refresher: LocalAccountRefresher, requestCompletedFor: URL)
@@ -81,7 +82,7 @@ extension LocalAccountRefresher: DownloadSessionDelegate {
}
if let error {
print("Error downloading \(url) - \(error)")
os_log(.debug, "Error downloading \(url) - \(error)")
return
}