From cfd9057bb4b7546e6bb9e0a75355e87f7c9543b2 Mon Sep 17 00:00:00 2001 From: Abhishek Banthia <8280282+n0shake@users.noreply.github.com> Date: Sat, 19 Mar 2022 00:05:53 -0400 Subject: [PATCH] Move to Logger.info instead of Swift.print. --- Clocker/CoreModelKit/Sources/CoreModelKit/TimezoneData.swift | 2 +- Clocker/Preferences/Appearance/AppearanceViewController.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Clocker/CoreModelKit/Sources/CoreModelKit/TimezoneData.swift b/Clocker/CoreModelKit/Sources/CoreModelKit/TimezoneData.swift index 34e6ca0..0c0d6bf 100644 --- a/Clocker/CoreModelKit/Sources/CoreModelKit/TimezoneData.swift +++ b/Clocker/CoreModelKit/Sources/CoreModelKit/TimezoneData.swift @@ -210,7 +210,7 @@ public class TimezoneData: NSObject, NSCoding { } else if shouldOverride == 12 { overrideFormat = .epochTime } else { - print("Chosen a wrong timezone format") + Logger.info("Chosen a wrong timezone format: \(shouldOverride)") } } diff --git a/Clocker/Preferences/Appearance/AppearanceViewController.swift b/Clocker/Preferences/Appearance/AppearanceViewController.swift index b1d762e..8294fe1 100644 --- a/Clocker/Preferences/Appearance/AppearanceViewController.swift +++ b/Clocker/Preferences/Appearance/AppearanceViewController.swift @@ -189,7 +189,7 @@ class AppearanceViewController: ParentViewController { if let selectedFormat = sender.selectedItem?.title, selectedFormat.contains("ss") { - print("Seconds are contained") + Logger.info("Selected format contains timezone format") guard let panelController = PanelController.panel() else { return } panelController.pauseTimer() }