mirror of
https://github.com/XcodesOrg/XcodesApp.git
synced 2026-03-25 08:55:46 +00:00
Use Logger for Progress.updateFromAria2
This commit is contained in:
parent
899eec7dae
commit
2f04d23eac
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue