mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 01:20:12 +00:00
Setup the new RustSDK sentry integration
This commit is contained in:
committed by
Stefan Ceriu
parent
803e4198ea
commit
b3f0c31b9d
@@ -23,7 +23,10 @@ enum Tracing {
|
||||
|
||||
static let fileExtension = "log"
|
||||
|
||||
static func buildConfiguration(logLevel: LogLevel, traceLogPacks: Set<TraceLogPack>, currentTarget: String, filePrefix: String?) -> TracingConfiguration {
|
||||
static func buildConfiguration(logLevel: LogLevel, traceLogPacks: Set<TraceLogPack>,
|
||||
currentTarget: String,
|
||||
filePrefix: String?,
|
||||
sentryURL: URL?) -> TracingConfiguration {
|
||||
let fileName = if let filePrefix {
|
||||
"\(Tracing.filePrefix)-\(filePrefix)"
|
||||
} else {
|
||||
@@ -46,7 +49,7 @@ enum Tracing {
|
||||
filePrefix: fileName,
|
||||
fileSuffix: fileExtension,
|
||||
maxFiles: maxFiles),
|
||||
sentryDsn: nil)
|
||||
sentryDsn: sentryURL?.absoluteString)
|
||||
}
|
||||
|
||||
/// A list of all log file URLs, sorted chronologically. This is only public for testing purposes, within
|
||||
|
||||
Reference in New Issue
Block a user