diff options
author | Roopesh Chander <roop@roopc.net> | 2018-12-13 17:30:02 +0530 |
---|---|---|
committer | Roopesh Chander <roop@roopc.net> | 2018-12-13 17:37:20 +0530 |
commit | ba1d0c05bef6badd1012985dba24c58516e7b513 (patch) | |
tree | b84d73fcfc612a5cf0180417e52df6fcb7e366ab /WireGuard/WireGuard/UI | |
parent | Logging: ringlogger.c: Trim trailing newlines (diff) | |
download | wireguard-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 'WireGuard/WireGuard/UI')
-rw-r--r-- | WireGuard/WireGuard/UI/iOS/AppDelegate.swift | 2 |
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 |