From 2f04d23eac9144ac39c578b48e2ea61eb2ad989c Mon Sep 17 00:00:00 2001 From: Brandon Evans Date: Thu, 18 Feb 2021 19:19:30 -0700 Subject: [PATCH] Use Logger for Progress.updateFromAria2 --- Xcodes/Backend/Progress+.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Xcodes/Backend/Progress+.swift b/Xcodes/Backend/Progress+.swift index ad15f1c..b71b994 100644 --- a/Xcodes/Backend/Progress+.swift +++ b/Xcodes/Backend/Progress+.swift @@ -1,4 +1,4 @@ - +import os.log import Foundation extension Progress { @@ -39,7 +39,7 @@ extension Progress { let speed = Int(string[matchRange].replacingOccurrences(of: "B", with: "")) { self.throughput = speed } else { - print("Could not find speed") + Logger.appState.debug("Could not parse throughput from aria2 download output") } // MARK: Estimated Time Remaining