Log on VPNStatusDidChange.

This commit is contained in:
Jeroen Leenarts 2018-08-12 21:50:54 +02:00
parent 6d977e13b2
commit 412b21a7ce
1 changed files with 6 additions and 0 deletions

View File

@ -97,6 +97,12 @@ class AppCoordinator: RootViewCoordinator {
// MARK: - NEVPNManager handling
@objc private func VPNStatusDidChange(notification: NSNotification) {
//TODO implement
guard let session = notification.object as? NETunnelProviderSession else {
return
}
os_log("VPNStatusDidChange: %{public}@", log: Log.general, type: .debug, description(for: session.status))
}
public func showError(_ error: Error) {