INNER CODE UNIT · Swift

sleep

UnboundTechCo/defyxVPN · ios/PacketTunnel/PacketTunnelProvider.swift:315

    override func sleep(completionHandler: @escaping () -> Void) {
        os_log("😴 Tunnel going to sleep...")
        completionHandler()
    }

    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

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…