no print only logger

This commit is contained in:
Francesco 2025-04-10 17:31:38 +02:00
parent 7bace8936d
commit 5dfacc8db4
2 changed files with 2 additions and 3 deletions

View file

@ -89,8 +89,7 @@ class AniListMutation {
if let data = data {
do {
let responseJSON = try JSONSerialization.jsonObject(with: data, options: [])
print("Successfully updated anime progress")
print(responseJSON)
Logger.shared.log("Successfully updated anime progress", type: "Debug")
completion(.success(()))
} catch {
completion(.failure(error))

View file

@ -1209,7 +1209,7 @@ class CustomMediaPlayerViewController: UIViewController {
guard let self = self,
let data = data,
let content = String(data: data, encoding: .utf8) else {
print("Failed to load m3u8 file")
Logger.shared.log("Failed to load m3u8 file")
DispatchQueue.main.async {
self?.qualities = []
completion()