We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b10643 commit 4349653Copy full SHA for 4349653
Sources/Swift/Integrations/Log/FlushLogsIntegration.swift
@@ -62,13 +62,15 @@ final class FlushLogsIntegration<Dependencies: NotificationCenterProvider>: NSOb
62
63
@objc private func willResignActive() {
64
guard let client = SentrySDKInternal.currentHub().getClient() else {
65
+ SentrySDKLog.debug("No need to flush logs on `willResignActive` because there is no client.")
66
return
67
}
68
client.captureLogs()
69
70
71
@objc private func willTerminate() {
72
73
+ SentrySDKLog.debug("No need to flush logs on `willTerminate` because there is no client.")
74
75
76
0 commit comments