Allow setting custom log levels (#1592)

* Allow using custom tracing configuration from the developer options screen. Clean up RustTracing
* Move log level configurations to a separate view
* Disable autocorrection
* Fix unit tests
* Use TracingConfiguration.info as the default text value, switch to a TextEditor
This commit is contained in:
Stefan Ceriu
2023-08-30 15:35:49 +03:00
committed by GitHub
parent 3c3e31f9e4
commit 3258d3a85d
4 changed files with 109 additions and 44 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ enum MXLog {
return
}
setupTracing(configuration: .custom(logLevel: logLevel), otlpConfiguration: otlpConfiguration)
setupTracing(configuration: .init(logLevel: logLevel), otlpConfiguration: otlpConfiguration)
if let target {
self.target = target