Log VPN status

This commit is contained in:
Davide De Rosa 2020-05-09 17:33:04 +02:00
parent 3d187f40fd
commit 6a168df009
1 changed files with 5 additions and 0 deletions

View File

@ -31,6 +31,10 @@ import TunnelKit
import PassepartoutCore
import Convenience
import SwiftyBeaver
private let log = SwiftyBeaver.self
class ServiceViewController: UIViewController, StrongTableHost {
@IBOutlet private weak var tableView: UITableView!
@ -644,6 +648,7 @@ class ServiceViewController: UIViewController, StrongTableHost {
guard let status = vpn.status else {
return
}
log.debug("VPN.status: \(status)")
switch status {
case .connected:
Reviewer.shared.reportEvent()