0
0
mirror of https://github.com/signalapp/libsignal.git synced 2024-09-19 19:42:19 +02:00

swift: Replace last use of NSLog with new logging protocol

This commit is contained in:
Jordan Rose 2024-07-08 14:24:34 -07:00
parent c870e23a5b
commit 2feac3495b

View File

@ -86,7 +86,7 @@ internal class TokioAsyncContext: NativeHandleOwner {
try checkError(signal_tokio_async_context_cancel($0, id))
}
} catch {
NSLog("failed to cancel libsignal task %ld: %@", id, "\(error)")
LoggerBridge.shared?.logger.log(level: .warn, file: #fileID, line: #line, message: "failed to cancel libsignal task \(id): \(error)")
}
}
}