Skip to content

Commit

Permalink
Reduce debug log spam
Browse files Browse the repository at this point in the history
  • Loading branch information
d4rken committed Jan 21, 2025
1 parent df79f30 commit 9fbadba
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class PkgRepo @Inject constructor(
private val userManager: UserManager2,
) {

private val cache = DynamicStateFlow(TAG, appScope + dispatcherProvider.IO) {
private val cache = DynamicStateFlow(if (Bugs.isTrace) TAG else null, appScope + dispatcherProvider.IO) {
log(TAG, INFO) { "Initializing pkg cache" }
generateCacheContainer()
}
Expand Down

0 comments on commit 9fbadba

Please sign in to comment.