Iterate on tracing configuration

- Add targets matrix_sdk, matrix_sdk::client and matrix_sdk::oidc
- introduce default log level.
This commit is contained in:
Benoit Marty 2023-09-06 15:04:21 +02:00 committed by Benoit Marty
parent f03cbc1c2e
commit 5f77740533
2 changed files with 8 additions and 11 deletions

View file

@ -29,7 +29,6 @@ class TargetLogLevelMapBuilder @Inject constructor(
fun getDefaultMap(): Map<Target, LogLevel> {
return Target.entries.associateWith { target ->
defaultConfig.getLogLevel(target)
?: LogLevel.INFO
}
}
@ -37,7 +36,6 @@ class TargetLogLevelMapBuilder @Inject constructor(
return Target.entries.associateWith { target ->
tracingConfigurationStore.getLogLevel(target)
?: defaultConfig.getLogLevel(target)
?: LogLevel.INFO
}
}
}