From 7dbd2cb659ff1444b6a5cd9dd6b4ae2b03765214 Mon Sep 17 00:00:00 2001 From: Abhishek Banthia <8280282+n0shake@users.noreply.github.com> Date: Wed, 20 Apr 2022 09:12:49 -0400 Subject: [PATCH] Remove extra newlines from log statements. --- Clocker/Events and Reminders/EventCenter.swift | 2 +- Clocker/Panel/PanelController.swift | 2 +- Clocker/Preferences/Menu Bar/StatusItemHandler.swift | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Clocker/Events and Reminders/EventCenter.swift b/Clocker/Events and Reminders/EventCenter.swift index 5d6e5ee..9c3b8d2 100644 --- a/Clocker/Events and Reminders/EventCenter.swift +++ b/Clocker/Events and Reminders/EventCenter.swift @@ -42,7 +42,7 @@ class EventCenter: NSObject { } private func refetchAll() { - Logger.info("\nRefetching events from the store") + Logger.info("Refetching events from the store") eventsForDate = [:] filteredEvents = [:] diff --git a/Clocker/Panel/PanelController.swift b/Clocker/Panel/PanelController.swift index 89519f3..9232224 100644 --- a/Clocker/Panel/PanelController.swift +++ b/Clocker/Panel/PanelController.swift @@ -268,7 +268,7 @@ class PanelController: ParentPanelController { if count >= 1 || DataStore.shared().shouldDisplay(.showMeetingInMenubar) { if let delegate = NSApplication.shared.delegate as? AppDelegate { - Logger.info("\nWe will be invalidating the menubar timer as we want the parent timer to take care of both panel and menubar ") + Logger.info("We will be invalidating the menubar timer as we want the parent timer to take care of both panel and menubar ") delegate.invalidateMenubarTimer(false) } diff --git a/Clocker/Preferences/Menu Bar/StatusItemHandler.swift b/Clocker/Preferences/Menu Bar/StatusItemHandler.swift index 7d6be19..67040d5 100644 --- a/Clocker/Preferences/Menu Bar/StatusItemHandler.swift +++ b/Clocker/Preferences/Menu Bar/StatusItemHandler.swift @@ -61,7 +61,7 @@ class StatusItemHandler: NSObject { setClockerIcon() } - Logger.info("\nStatus Bar Current State changed: \(currentState)\n") + Logger.info("Status Bar Current State changed: \(currentState)\n") } }