From 265b7035eded017fb80bc7c188d2efa889075f94 Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Sat, 30 Nov 2024 10:27:08 -0800 Subject: [PATCH] Use os_log instead of print. --- .../Sources/Account/LocalAccount/LocalAccountRefresher.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Account/Sources/Account/LocalAccount/LocalAccountRefresher.swift b/Account/Sources/Account/LocalAccount/LocalAccountRefresher.swift index 5b97bc718..313035c76 100644 --- a/Account/Sources/Account/LocalAccount/LocalAccountRefresher.swift +++ b/Account/Sources/Account/LocalAccount/LocalAccountRefresher.swift @@ -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 }