Browse Source

Move to Logger.info instead of Swift.print.

pull/113/head
Abhishek Banthia 3 years ago
parent
commit
cfd9057bb4
  1. 2
      Clocker/CoreModelKit/Sources/CoreModelKit/TimezoneData.swift
  2. 2
      Clocker/Preferences/Appearance/AppearanceViewController.swift

2
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)")
}
}

2
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()
}

Loading…
Cancel
Save