Skip to content

Commit

Permalink
only add native logs if it contains the string libxmtp
Browse files Browse the repository at this point in the history
  • Loading branch information
cameronvoell committed Aug 14, 2024
1 parent f6d2b2e commit 79f62a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/XMTPModule.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
}
Expand Down

0 comments on commit 79f62a9

Please sign in to comment.