mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Remove OTLP support.
This commit is contained in:
@@ -70,13 +70,7 @@ class AppCoordinator: AppCoordinatorProtocol, AuthenticationFlowCoordinatorDeleg
|
||||
|
||||
let appSettings = AppSettings()
|
||||
|
||||
if appSettings.otlpTracingEnabled {
|
||||
MXLog.configure(logLevel: appSettings.logLevel, otlpConfiguration: .init(url: appSettings.otlpTracingURL,
|
||||
username: appSettings.otlpTracingUsername,
|
||||
password: appSettings.otlpTracingPassword))
|
||||
} else {
|
||||
MXLog.configure(logLevel: appSettings.logLevel)
|
||||
}
|
||||
MXLog.configure(logLevel: appSettings.logLevel)
|
||||
|
||||
let appName = InfoPlistReader.main.bundleDisplayName
|
||||
let appVersion = InfoPlistReader.main.bundleShortVersionString
|
||||
|
||||
@@ -35,7 +35,6 @@ final class AppSettings {
|
||||
case enableInAppNotifications
|
||||
case pusherProfileTag
|
||||
case logLevel
|
||||
case otlpTracingEnabled
|
||||
case viewSourceEnabled
|
||||
case richTextEditorEnabled
|
||||
case appAppearance
|
||||
@@ -255,15 +254,6 @@ final class AppSettings {
|
||||
@UserPreference(key: UserDefaultsKeys.pusherProfileTag, storageType: .userDefaults(store))
|
||||
var pusherProfileTag: String?
|
||||
|
||||
// MARK: - Logging
|
||||
|
||||
@UserPreference(key: UserDefaultsKeys.otlpTracingEnabled, defaultValue: false, storageType: .userDefaults(store))
|
||||
var otlpTracingEnabled
|
||||
|
||||
let otlpTracingURL = InfoPlistReader.main.otlpTracingURL
|
||||
let otlpTracingUsername = InfoPlistReader.main.otlpTracingUsername
|
||||
let otlpTracingPassword = InfoPlistReader.main.otlpTracingPassword
|
||||
|
||||
// MARK: - Maps
|
||||
|
||||
// maptiler base url
|
||||
|
||||
Reference in New Issue
Block a user