Skip to content

Commit

Permalink
Merge pull request #1693 from InsertKoinIO/fix/scope_log
Browse files Browse the repository at this point in the history
Pass scope creation logs from warning to debug - Fix #1680
  • Loading branch information
arnaudgiuliani committed Nov 8, 2023
2 parents 1e4c6e8 + 0ea38a4 commit 6479ead
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Build & Test

on: pull_request:
on: pull_request

concurrency:
group: build-${{ github.ref }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class ScopeRegistry(private val _koin: Koin) {
internal fun createScope(scopeId: ScopeID, qualifier: Qualifier, source: Any? = null): Scope {
_koin.logger.debug("|- (+) Scope - id:'$scopeId' q:$qualifier")
if (!_scopeDefinitions.contains(qualifier)) {
_koin.logger.warn("| Scope '$qualifier' not defined. Creating it ...")
_koin.logger.debug("| Scope '$qualifier' not defined. Creating it ...")
_scopeDefinitions.add(qualifier)
}
if (_scopes.contains(scopeId)) {
Expand Down

0 comments on commit 6479ead

Please sign in to comment.