Iterate on tracing configuration
- Add targets matrix_sdk, matrix_sdk::client and matrix_sdk::oidc - introduce default log level.
This commit is contained in:
parent
f03cbc1c2e
commit
5f77740533
2 changed files with 8 additions and 11 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue