Setup the new RustSDK sentry integration

This commit is contained in:
Stefan Ceriu
2025-05-23 11:42:26 +03:00
committed by Stefan Ceriu
parent e84af69e00
commit 3dd98adeeb
9 changed files with 61 additions and 35 deletions

View File

@@ -22,7 +22,7 @@ class LoggingTests: XCTestCase {
let target = "tests"
XCTAssertTrue(Tracing.logFiles.isEmpty)
await Target.tests.configure(logLevel: .info, traceLogPacks: [])
await Target.tests.configure(logLevel: .info, traceLogPacks: [], sentryURL: nil)
// There is something weird with Rust logging where the file writing handle doesn't
// notice that the file it is writing to was deleted, so we can't run these checks
@@ -174,7 +174,7 @@ class LoggingTests: XCTestCase {
contentType: nil))
// When logging that value
await Target.tests.configure(logLevel: .info, traceLogPacks: [])
await Target.tests.configure(logLevel: .info, traceLogPacks: [], sentryURL: nil)
MXLog.info(textMessage)
MXLog.info(noticeMessage)