Enable Rust trace log packs (#4514)
* Enable Rust trace log packs This is a way to forcefully enable trace logs only for a few Rust crates in a safe way
This commit is contained in:
parent
b2791d5aad
commit
c3ff9c9bda
14 changed files with 131 additions and 4 deletions
|
|
@ -37,6 +37,7 @@ class PlatformInitializer : Initializer<Unit> {
|
|||
writesToFilesConfiguration = defaultWriteToDiskConfiguration(bugReporter),
|
||||
logLevel = logLevel,
|
||||
extraTargets = listOf(ELEMENT_X_TARGET),
|
||||
traceLogPacks = runBlocking { preferencesStore.getTracingLogPacksFlow().first() },
|
||||
)
|
||||
bugReporter.setCurrentTracingLogLevel(logLevel.name)
|
||||
platformService.init(tracingConfiguration)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue