diff --git a/phpmon/Common/PHP/PHP Version/PhpEnv.swift b/phpmon/Common/PHP/PHP Version/PhpEnv.swift index 53759b1..04230e2 100644 --- a/phpmon/Common/PHP/PHP Version/PhpEnv.swift +++ b/phpmon/Common/PHP/PHP Version/PhpEnv.swift @@ -156,7 +156,7 @@ class PhpEnv { */ public func validate(_ version: String) -> Bool { if self.currentInstall.version.short == version { - print("Switching to version \(version) seems to have succeeded. Validation passed.") + Log.info("Switching to version \(version) seems to have succeeded. Validation passed.") return true } diff --git a/phpmon/Domain/Integrations/Valet/Valet.swift b/phpmon/Domain/Integrations/Valet/Valet.swift index 8001ef9..3ab6390 100644 --- a/phpmon/Domain/Integrations/Valet/Valet.swift +++ b/phpmon/Domain/Integrations/Valet/Valet.swift @@ -163,7 +163,7 @@ class Valet { // We should also check that we can interpret the path correctly if URL(fileURLWithPath: siteDir).lastPathComponent == "" { - print("Warning: could not parse the site: \(siteDir), skipping!") + Log.warn("Could not parse the site: \(siteDir), skipping!") return } diff --git a/phpmon/Domain/Preferences/Views/SelectPreferenceView.swift b/phpmon/Domain/Preferences/Views/SelectPreferenceView.swift index 9e7b126..33afae0 100644 --- a/phpmon/Domain/Preferences/Views/SelectPreferenceView.swift +++ b/phpmon/Domain/Preferences/Views/SelectPreferenceView.swift @@ -32,7 +32,6 @@ class SelectPreferenceView: NSView, XibLoadable { } self.popupButton.itemArray.enumerated().forEach { item in - print("\(imagePrefix!)_\(self.options[item.offset])") item.element.image = NSImage(named: "\(imagePrefix!)_\(self.options[item.offset])") } } diff --git a/phpmon/Domain/SiteList/SiteListCell.swift b/phpmon/Domain/SiteList/SiteListCell.swift index 21606fb..8a24f50 100644 --- a/phpmon/Domain/SiteList/SiteListCell.swift +++ b/phpmon/Domain/SiteList/SiteListCell.swift @@ -102,7 +102,7 @@ class SiteListCell: NSTableCellView if response.rawValue > NSApplication.ModalResponse.alertFirstButtonReturn.rawValue { if map.keys.contains(response.rawValue) { let version = map[response.rawValue]! - print("Pressed button to switch to \(version)") + Log.info("Pressed button to switch to \(version)") MainMenu.shared.switchToPhpVersion(version) } }