mirror of
https://github.com/passepartoutvpn/wireguard-apple.git
synced 2025-02-18 13:52:07 +00:00
Log on VPNStatusDidChange.
This commit is contained in:
parent
6d977e13b2
commit
412b21a7ce
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user