Log on VPNStatusDidChange.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Jeroen Leenarts 2018-08-12 21:50:54 +02:00
parent 41f9a64d9f
commit a81e8dcf3c
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) {