aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard
diff options
context:
space:
mode:
authorRoopesh Chander <roop@roopc.net>2018-12-13 18:00:29 +0530
committerRoopesh Chander <roop@roopc.net>2018-12-13 18:00:32 +0530
commite199ed0d6c1ee89ff39c83193e945bfce5892777 (patch)
tree55a95cb47d2c6f2ef293da4ccb6fddbd0e12d543 /WireGuard/WireGuard
parentLogging: Use ringlogger for logging from the app (diff)
downloadwireguard-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')
-rw-r--r--WireGuard/WireGuard/UI/iOS/SettingsTableViewController.swift2
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