INNER CODE UNIT · Swift
wake
UnboundTechCo/defyxVPN · ios/PacketTunnel/PacketTunnelProvider.swift:320
override func wake() {
os_log("🔄 Tunnel waking up...")
}
func getLogFilePath() -> String {
guard
let groupURL = FileManager.default.containerURL(
forSecurityApplicationGroupIdentifier: "group.de.unboundtech.defyxvpn")
else {
os_log("Error getting file path..")
return "/dev/null"
}
let path = groupURL.appendingPathComponent("warp_logs.txt").path
os_log("FilePath received %@", path)
return path
}
private func saveLogToFile(_ logData: Data) {