Correct logging categories
This commit is contained in:
parent
6a0c5ac31b
commit
105033db8e
|
@ -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!
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue