From 79f62a90490d66e58ef4aa044d5fb1917f73208e Mon Sep 17 00:00:00 2001 From: cameronvoell Date: Wed, 14 Aug 2024 14:52:02 -0700 Subject: [PATCH] only add native logs if it contains the string libxmtp --- ios/XMTPModule.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ios/XMTPModule.swift b/ios/XMTPModule.swift index cfb98b133..12b87768d 100644 --- a/ios/XMTPModule.swift +++ b/ios/XMTPModule.swift @@ -1490,7 +1490,7 @@ public class XMTPModule: Module { let entries = try logStore.getEntries(at: position) for entry in entries { - if let logEntry = entry as? OSLogEntryLog { + if let logEntry = entry as? OSLogEntryLog, logEntry.composedMessage.contains("libxmtp") { logOutput.append("\(logEntry.date): \(logEntry.composedMessage)\n") } }