aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuardNetworkExtension/PacketTunnelProvider.swift
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-12-14 22:53:42 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2018-12-14 22:53:42 +0100
commite0bc5e12b330acea73812ebfee6da94ba99077f2 (patch)
tree0d86e4bdd3a85b87d7103d1a8edd43e9d96208a0 /WireGuard/WireGuardNetworkExtension/PacketTunnelProvider.swift
parentFix tunnel remaining in 'Activating' state (diff)
downloadwireguard-apple-e0bc5e12b330acea73812ebfee6da94ba99077f2.tar.xz
wireguard-apple-e0bc5e12b330acea73812ebfee6da94ba99077f2.zip
Simplify logging tags
This was roop's initial idea, and it turns out to be the better one, now that we can pass cstrings more easily. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '')
-rw-r--r--WireGuard/WireGuardNetworkExtension/PacketTunnelProvider.swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/WireGuard/WireGuardNetworkExtension/PacketTunnelProvider.swift b/WireGuard/WireGuardNetworkExtension/PacketTunnelProvider.swift
index 559c7c26..e2588f82 100644
--- a/WireGuard/WireGuardNetworkExtension/PacketTunnelProvider.swift
+++ b/WireGuard/WireGuardNetworkExtension/PacketTunnelProvider.swift
@@ -140,7 +140,7 @@ class PacketTunnelProvider: NEPacketTunnelProvider {
}
private func configureLogger() {
- Logger.configureGlobal(withFilePath: FileManager.networkExtensionLogFileURL?.path, withTag: "EXT")
+ Logger.configureGlobal(withFilePath: FileManager.networkExtensionLogFileURL?.path)
wgSetLogger { level, msgC in
guard let msgC = msgC else { return }
let logType: OSLogType