diff options
author | Roopesh Chander <roop@roopc.net> | 2018-12-13 18:00:29 +0530 |
---|---|---|
committer | Roopesh Chander <roop@roopc.net> | 2018-12-13 18:00:32 +0530 |
commit | e199ed0d6c1ee89ff39c83193e945bfce5892777 (patch) | |
tree | 55a95cb47d2c6f2ef293da4ccb6fddbd0e12d543 /WireGuard/WireGuard/UI/iOS | |
parent | Logging: Use ringlogger for logging from the app (diff) | |
download | wireguard-apple-e199ed0d6c1ee89ff39c83193e945bfce5892777.tar.xz wireguard-apple-e199ed0d6c1ee89ff39c83193e945bfce5892777.zip |
Logging: Tag the entries in the merged log
So we know which entry is from the app and which is from the network
extension.
Signed-off-by: Roopesh Chander <roop@roopc.net>
Diffstat (limited to 'WireGuard/WireGuard/UI/iOS')
-rw-r--r-- | WireGuard/WireGuard/UI/iOS/SettingsTableViewController.swift | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/WireGuard/WireGuard/UI/iOS/SettingsTableViewController.swift b/WireGuard/WireGuard/UI/iOS/SettingsTableViewController.swift index 43e277e..f740919 100644 --- a/WireGuard/WireGuard/UI/iOS/SettingsTableViewController.swift +++ b/WireGuard/WireGuard/UI/iOS/SettingsTableViewController.swift @@ -118,7 +118,7 @@ class SettingsTableViewController: UITableViewController { return } - let isWritten = Logger.writeLog(mergedWith: networkExtensionLogFilePath, to: destinationURL.path) + let isWritten = Logger.writeLog(mergedWith: networkExtensionLogFilePath, tag: "APP", otherTag: "EXT", to: destinationURL.path) guard isWritten else { ErrorPresenter.showErrorAlert(title: "Log export failed", message: "Internal error merging logs", from: self) return |