Log VPN status
This commit is contained in:
parent
3d187f40fd
commit
6a168df009
|
@ -31,6 +31,10 @@ import TunnelKit
|
||||||
import PassepartoutCore
|
import PassepartoutCore
|
||||||
import Convenience
|
import Convenience
|
||||||
|
|
||||||
|
import SwiftyBeaver
|
||||||
|
|
||||||
|
private let log = SwiftyBeaver.self
|
||||||
|
|
||||||
class ServiceViewController: UIViewController, StrongTableHost {
|
class ServiceViewController: UIViewController, StrongTableHost {
|
||||||
@IBOutlet private weak var tableView: UITableView!
|
@IBOutlet private weak var tableView: UITableView!
|
||||||
|
|
||||||
|
@ -644,6 +648,7 @@ class ServiceViewController: UIViewController, StrongTableHost {
|
||||||
guard let status = vpn.status else {
|
guard let status = vpn.status else {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
log.debug("VPN.status: \(status)")
|
||||||
switch status {
|
switch status {
|
||||||
case .connected:
|
case .connected:
|
||||||
Reviewer.shared.reportEvent()
|
Reviewer.shared.reportEvent()
|
||||||
|
|
Loading…
Reference in New Issue