Logging: Use ringlogger for logging from the app
Signed-off-by: Roopesh Chander <roop@roopc.net>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user