diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-12-14 22:53:42 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-12-14 22:53:42 +0100 |
commit | e0bc5e12b330acea73812ebfee6da94ba99077f2 (patch) | |
tree | 0d86e4bdd3a85b87d7103d1a8edd43e9d96208a0 /WireGuard/WireGuard/UI/iOS/Settings/SettingsTableViewController.swift | |
parent | Fix tunnel remaining in 'Activating' state (diff) | |
download | wireguard-apple-e0bc5e12b330acea73812ebfee6da94ba99077f2.tar.xz wireguard-apple-e0bc5e12b330acea73812ebfee6da94ba99077f2.zip |
Simplify logging tags
This was roop's initial idea, and it turns out to be the better one, now
that we can pass cstrings more easily.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '')
-rw-r--r-- | WireGuard/WireGuard/UI/iOS/Settings/SettingsTableViewController.swift | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/WireGuard/WireGuard/UI/iOS/Settings/SettingsTableViewController.swift b/WireGuard/WireGuard/UI/iOS/Settings/SettingsTableViewController.swift index c87d452..5e8aee6 100644 --- a/WireGuard/WireGuard/UI/iOS/Settings/SettingsTableViewController.swift +++ b/WireGuard/WireGuard/UI/iOS/Settings/SettingsTableViewController.swift @@ -119,7 +119,7 @@ class SettingsTableViewController: UITableViewController { return } - let isWritten = Logger.global?.writeLog(mergedWith: networkExtensionLogFilePath, to: destinationURL.path) ?? false + let isWritten = Logger.global?.writeLog(called: "APP", mergedWith: networkExtensionLogFilePath, called: "NET", to: destinationURL.path) ?? false guard isWritten else { ErrorPresenter.showErrorAlert(title: "Log export failed", message: "Unable to write logs to file", from: self) return |