Switch to new logger api

This commit is contained in:
Max Goedjen
2020-09-10 23:59:33 -07:00
parent 4520fc2fa6
commit 264b584d34
4 changed files with 19 additions and 19 deletions

View File

@@ -26,7 +26,7 @@ class AppDelegate: NSObject, NSApplicationDelegate {
private var updateSink: AnyCancellable?
func applicationDidFinishLaunching(_ aNotification: Notification) {
os_log(.debug, "SecretAgent finished launching")
Logger().debug("SecretAgent finished launching")
DispatchQueue.main.async {
self.socketController.handler = self.agent.handle(reader:writer:)
}