Correct logging categories

This commit is contained in:
Maurice Parker 2019-11-02 12:29:01 -05:00
parent 6a0c5ac31b
commit 105033db8e
2 changed files with 2 additions and 2 deletions

View File

@ -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 userNotificationManager: UserNotificationManager!
var faviconDownloader: FaviconDownloader! var faviconDownloader: FaviconDownloader!

View File

@ -12,7 +12,7 @@ import os.log
struct ErrorHandler { 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) -> () { public static func present(_ viewController: UIViewController) -> (Error) -> () {
return { [weak viewController] error in return { [weak viewController] error in