Bump the RustSDK to v25.05.26 and handle breaking changes
- the new sentry integration will be handled in #4145
This commit is contained in:
committed by
Stefan Ceriu
parent
fcbc49438c
commit
e590035fea
@@ -27,25 +27,25 @@ enum Target: String {
|
||||
traceLogPacks: traceLogPacks,
|
||||
currentTarget: rawValue,
|
||||
filePrefix: nil)
|
||||
initPlatform(config: tracingConfiguration, useLightweightTokioRuntime: false)
|
||||
try? initPlatform(config: tracingConfiguration, useLightweightTokioRuntime: false)
|
||||
case .nse:
|
||||
let tracingConfiguration = Tracing.buildConfiguration(logLevel: logLevel,
|
||||
traceLogPacks: traceLogPacks,
|
||||
currentTarget: rawValue,
|
||||
filePrefix: rawValue)
|
||||
initPlatform(config: tracingConfiguration, useLightweightTokioRuntime: true)
|
||||
try? initPlatform(config: tracingConfiguration, useLightweightTokioRuntime: true)
|
||||
case .shareExtension:
|
||||
let tracingConfiguration = Tracing.buildConfiguration(logLevel: logLevel,
|
||||
traceLogPacks: traceLogPacks,
|
||||
currentTarget: rawValue,
|
||||
filePrefix: rawValue)
|
||||
initPlatform(config: tracingConfiguration, useLightweightTokioRuntime: true)
|
||||
try? initPlatform(config: tracingConfiguration, useLightweightTokioRuntime: true)
|
||||
case .tests:
|
||||
let tracingConfiguration = Tracing.buildConfiguration(logLevel: logLevel,
|
||||
traceLogPacks: traceLogPacks,
|
||||
currentTarget: rawValue,
|
||||
filePrefix: rawValue)
|
||||
initPlatform(config: tracingConfiguration, useLightweightTokioRuntime: false)
|
||||
try? initPlatform(config: tracingConfiguration, useLightweightTokioRuntime: false)
|
||||
}
|
||||
|
||||
MXLog.configure(currentTarget: rawValue)
|
||||
|
||||
@@ -45,7 +45,8 @@ enum Tracing {
|
||||
writeToFiles: .init(path: logsDirectory.path(percentEncoded: false),
|
||||
filePrefix: fileName,
|
||||
fileSuffix: fileExtension,
|
||||
maxFiles: maxFiles))
|
||||
maxFiles: maxFiles),
|
||||
sentryDsn: nil)
|
||||
}
|
||||
|
||||
/// A list of all log file URLs, sorted chronologically. This is only public for testing purposes, within
|
||||
|
||||
Reference in New Issue
Block a user