Print out the current process identifier on NSE runs

This commit is contained in:
Stefan Ceriu
2024-04-15 16:23:59 +03:00
parent bfe74d68d4
commit 1709b48b09

View File

@@ -160,7 +160,7 @@ class NotificationServiceExtension: UNNotificationServiceExtension {
}
private var tag: String {
"[NSE][\(Unmanaged.passUnretained(self).toOpaque())][\(Unmanaged.passUnretained(Thread.current).toOpaque())]"
"[NSE][\(Unmanaged.passUnretained(self).toOpaque())][\(Unmanaged.passUnretained(Thread.current).toOpaque())][\(ProcessInfo.processInfo.processIdentifier)]"
}
private func cleanUp() {