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/Shared/FileManager+Extension.swift | |
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/Shared/FileManager+Extension.swift')
-rw-r--r-- | WireGuard/Shared/FileManager+Extension.swift | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/WireGuard/Shared/FileManager+Extension.swift b/WireGuard/Shared/FileManager+Extension.swift index 06f9e44..18931ba 100644 --- a/WireGuard/Shared/FileManager+Extension.swift +++ b/WireGuard/Shared/FileManager+Extension.swift @@ -29,7 +29,7 @@ extension FileManager { do { try FileManager.default.removeItem(at: url) } catch let error { - os_log("Failed to delete file '%{public}@': %{public}@", log: OSLog.default, type: .debug, url.absoluteString, error.localizedDescription) + wg_log(.info, message: "Failed to delete file '\(url.path)': \(error)") return false } return true |