aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuardNetworkExtension/Log.swift
diff options
context:
space:
mode:
authorJeroen Leenarts <jeroen.leenarts@gmail.com>2018-07-07 22:54:44 +0200
committerJeroen Leenarts <jeroen.leenarts@gmail.com>2018-07-07 22:54:44 +0200
commitb7cf84b7fa12d0d82bb45653b68747061e7e2f82 (patch)
tree50e9d1accdc3fe5ab37422c8834891dd340ea9ae /WireGuardNetworkExtension/Log.swift
parentFix bizarre name (diff)
downloadwireguard-apple-b7cf84b7fa12d0d82bb45653b68747061e7e2f82.tar.xz
wireguard-apple-b7cf84b7fa12d0d82bb45653b68747061e7e2f82.zip
Start wire-up of logging and tunnel system.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'WireGuardNetworkExtension/Log.swift')
-rw-r--r--WireGuardNetworkExtension/Log.swift13
1 files changed, 13 insertions, 0 deletions
diff --git a/WireGuardNetworkExtension/Log.swift b/WireGuardNetworkExtension/Log.swift
new file mode 100644
index 0000000..358874c
--- /dev/null
+++ b/WireGuardNetworkExtension/Log.swift
@@ -0,0 +1,13 @@
+//
+// Log.swift
+// WireGuardNetworkExtension
+//
+// Created by Jeroen Leenarts on 07-07-18.
+// Copyright © 2018 WireGuard. All rights reserved.
+//
+
+import os.log
+
+struct Log {
+ static var general = OSLog(subsystem: "com.wireguard.ios.WireGuard.WireGuardNetworkExtension", category: "general")
+}