mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
Feature flag to OTLP tracing
This commit is contained in:
committed by
Stefan Ceriu
parent
63d90eeb3e
commit
ecc549b280
@@ -43,6 +43,7 @@ enum MXLog {
|
||||
|
||||
static func configure(target: String? = nil,
|
||||
logLevel: TracingConfiguration.LogLevel,
|
||||
otlpConfiguration: OTLPConfiguration? = nil,
|
||||
redirectToFiles: Bool = Constants.redirectToFiles,
|
||||
maxLogFileCount: UInt = Constants.maxLogFileCount,
|
||||
logFileSizeLimit: UInt = Constants.logFilesSizeLimit) {
|
||||
@@ -58,7 +59,7 @@ enum MXLog {
|
||||
return
|
||||
}
|
||||
|
||||
setupTracing(configuration: .custom(logLevel: logLevel))
|
||||
setupTracing(configuration: .custom(logLevel: logLevel), otlpConfiguration: otlpConfiguration)
|
||||
|
||||
if let target {
|
||||
self.target = target
|
||||
|
||||
Reference in New Issue
Block a user