Skip to content

Commit

Permalink
lower compose warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaudgiuliani committed Nov 15, 2024
1 parent 4247d8f commit 8396208
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ fun currentKoinScope(): Scope = currentComposer.run {
}
} catch (e: ClosedScopeException) {
getDefaultKoinContext().let {
it.logger.warn("Try to refresh scope - fallback on default context from - $e")
it.logger.debug("Try to refresh scope - fallback on default context from - $e")
it.scopeRegistry.rootScope
}
}
Expand All @@ -102,7 +102,7 @@ fun currentKoinScope(): Scope = currentComposer.run {

@OptIn(KoinInternalApi::class)
private fun warningNoContext(ctx: Koin) {
ctx.logger.error("[Warning] - No Compose Koin context setup, taking default. Use KoinContext(), KoinAndroidContext() or KoinApplication() function to setup or create Koin context and avoid such message.")
ctx.logger.info("No Compose Koin context setup, taking default. Use KoinContext(), KoinAndroidContext() or KoinApplication() function to setup or create Koin context and avoid such message.")
}

/**
Expand Down

0 comments on commit 8396208

Please sign in to comment.