Hey I really love koin and have 2 questions after ...
# koin
w
Hey I really love koin and have 2 questions after upgrading to 2.0. In 1.0 you could use a named qualifier multiple times for different types. Now they can be used only once. Wouldn't it be better to have a name qualifier per type? And second, in koin 1.0 you could log a nice graph when and if dependencies were injected. That doesnt appear in 2.0. Can you enable this somehow?
a
a qualifier can be a type
named<MyType>()
w
Oh thanks, I will try that as soon as I get back to that project. And about the debuging graph. Is there any way to enable that with version 2.0?
a
You can acticate the debug to show it
but it’s a flat graph ^^
logging was killing Koin in 1.0
w
I understand that it kills the performance if you enable this logging but it was a pretty neat feature for debugging purposes to check if you have implemented lazy injection the right way 😉
a
debug log still allow you to do that
just flat printed
w
Nice, works like a charm! (you should include that aswell in the docs) using androidLogger(Level.DEBUG) was a bit too verbose for me to realize that this will impact what will be logged rather then with which loglevel)