Add missed MXLogger calls in Analytics.

This commit is contained in:
Doug
2021-11-19 16:32:39 +00:00
parent f45b4644c3
commit 643b31fc90
+6
View File
@@ -75,6 +75,10 @@ import PostHog
postHog?.enable()
isRunning = true
MXLog.debug("[Analytics] Started.")
// Catch and log crashes
MXLogger.logCrashes(true)
MXLogger.setBuildVersion(AppDelegate.theDelegate().build)
}
private func identify(with settings: AnalyticsSettings) {
@@ -99,6 +103,8 @@ import PostHog
RiotSettings.shared.isIdentifiedForAnalytics = false
postHog = nil
MXLogger.logCrashes(false)
}
func forceUpload() {