diff --git a/Mythic/Controllers/Base/Legendary/Legendary.swift b/Mythic/Controllers/Base/Legendary/Legendary.swift index ae883ffb..a405dd0e 100644 --- a/Mythic/Controllers/Base/Legendary/Legendary.swift +++ b/Mythic/Controllers/Base/Legendary/Legendary.swift @@ -18,8 +18,8 @@ class Legendary { /// The file location for legendary's configuration files. static let configLocation = "\(Bundle.appHome!.path)/legendary" - /// Logger instance for logging - private static let log = Logger( + /// Logger instance for legendary + public static let log = Logger( subsystem: Bundle.main.bundleIdentifier!, category: "legendary" ) diff --git a/Mythic/Controllers/Base/WhiskyInterface/WhiskyInterface.swift b/Mythic/Controllers/Base/WhiskyInterface/WhiskyInterface.swift index 073d25d2..dd756cfa 100644 --- a/Mythic/Controllers/Base/WhiskyInterface/WhiskyInterface.swift +++ b/Mythic/Controllers/Base/WhiskyInterface/WhiskyInterface.swift @@ -47,7 +47,6 @@ class WhiskyInterface { static func getBottleMetadata(bottleURL: URL) -> [String: Any]? { if let metadata = try? Data(contentsOf: bottleURL.appending(path: "Metadata.plist")), let plist = try? PropertyListSerialization.propertyList(from: metadata, format: nil) { - print("plist is\n \(plist as? [String: Any])") return plist as? [String: Any] } else { log.warning("Unable to get bottle metadata.") } diff --git a/Mythic/Extensions/Base/Global.swift b/Mythic/Extensions/Base/Global.swift index d154dda3..1cd1c2be 100644 --- a/Mythic/Extensions/Base/Global.swift +++ b/Mythic/Extensions/Base/Global.swift @@ -17,7 +17,7 @@ import Foundation } } - EventManager.shared.publish("test", "real") + EventManager.shared.publish("test", "real?") */ class EventManager { diff --git a/Mythic/Views/Base/GameList/Extensions/Install.swift b/Mythic/Views/Base/GameList/Extensions/Install.swift index 5c5d8302..8917cfeb 100644 --- a/Mythic/Views/Base/GameList/Extensions/Install.swift +++ b/Mythic/Views/Base/GameList/Extensions/Install.swift @@ -78,7 +78,7 @@ extension GameListView { activeAlert = .installError isAlertPresented = true default: - print() + do { } } } } diff --git a/Mythic/Views/Base/GameList/GameList.swift b/Mythic/Views/Base/GameList/GameList.swift index 1bfbd6a5..6db6cd5e 100644 --- a/Mythic/Views/Base/GameList/GameList.swift +++ b/Mythic/Views/Base/GameList/GameList.swift @@ -85,8 +85,6 @@ struct GameListView: View { isParsingOptionalPacks = true } } - - print("optional packs: \(optionalPacks)") group.leave() } } diff --git a/Mythic/Views/Navigation/Library/Extensions/GameImport.swift b/Mythic/Views/Navigation/Library/Extensions/GameImport.swift index 2dbc1df2..dac88659 100644 --- a/Mythic/Views/Navigation/Library/Extensions/GameImport.swift +++ b/Mythic/Views/Navigation/Library/Extensions/GameImport.swift @@ -47,9 +47,6 @@ extension LibraryView { Text(game.title) } } - .onHover {_ in - print("\(selectedGame)") - } HStack { TextField("Enter game path or click \"Browse...\"", text: $gamePath) @@ -97,7 +94,6 @@ extension LibraryView { Button("Done", role: .none) { var realSelectedPlatform = selectedPlatform - print("seel \(selectedGame)") if selectedPlatform == "macOS" { realSelectedPlatform = "Mac" }