aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard/UI/iOS/AppDelegate.swift
diff options
context:
space:
mode:
authorRoopesh Chander <roop@roopc.net>2018-12-13 17:30:02 +0530
committerRoopesh Chander <roop@roopc.net>2018-12-13 17:37:20 +0530
commitba1d0c05bef6badd1012985dba24c58516e7b513 (patch)
treeb84d73fcfc612a5cf0180417e52df6fcb7e366ab /WireGuard/WireGuard/UI/iOS/AppDelegate.swift
parentLogging: ringlogger.c: Trim trailing newlines (diff)
downloadwireguard-apple-ba1d0c05bef6badd1012985dba24c58516e7b513.tar.xz
wireguard-apple-ba1d0c05bef6badd1012985dba24c58516e7b513.zip
Logging: Use ringlogger for logging from the app
Signed-off-by: Roopesh Chander <roop@roopc.net>
Diffstat (limited to '')
-rw-r--r--WireGuard/WireGuard/UI/iOS/AppDelegate.swift2
1 files changed, 2 insertions, 0 deletions
diff --git a/WireGuard/WireGuard/UI/iOS/AppDelegate.swift b/WireGuard/WireGuard/UI/iOS/AppDelegate.swift
index 5625814..f15aede 100644
--- a/WireGuard/WireGuard/UI/iOS/AppDelegate.swift
+++ b/WireGuard/WireGuard/UI/iOS/AppDelegate.swift
@@ -21,6 +21,8 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
os_log("Can't obtain log file URL. Log is not saved to file.", log: OSLog.default, type: .error)
}
+ wg_log(.info, message: "Launching app")
+
let window = UIWindow(frame: UIScreen.main.bounds)
window.backgroundColor = UIColor.white
self.window = window