From 105033db8e72f56039a6f92e750a9013a62c9534 Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Sat, 2 Nov 2019 12:29:01 -0500 Subject: [PATCH] Correct logging categories --- iOS/AppDelegate.swift | 2 +- iOS/ErrorHandler.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/iOS/AppDelegate.swift b/iOS/AppDelegate.swift index be4c90b19..3f7db82ce 100644 --- a/iOS/AppDelegate.swift +++ b/iOS/AppDelegate.swift @@ -32,7 +32,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD } } - var log = OSLog(subsystem: Bundle.main.bundleIdentifier!, category: "application") + var log = OSLog(subsystem: Bundle.main.bundleIdentifier!, category: "Application") var userNotificationManager: UserNotificationManager! var faviconDownloader: FaviconDownloader! diff --git a/iOS/ErrorHandler.swift b/iOS/ErrorHandler.swift index 33c628cae..898928327 100644 --- a/iOS/ErrorHandler.swift +++ b/iOS/ErrorHandler.swift @@ -12,7 +12,7 @@ import os.log struct ErrorHandler { - private static var log = OSLog(subsystem: Bundle.main.bundleIdentifier!, category: "Account") + private static var log = OSLog(subsystem: Bundle.main.bundleIdentifier!, category: "Application") public static func present(_ viewController: UIViewController) -> (Error) -> () { return { [weak viewController] error in