How does defining kotlin-logging works with libraries? E.g. I'm building lib, that need logging. I want that application will provide instance of KLogger to my lib. If application don't provide it, then some default KLogger should be used. Question is, hot to initialize it, so I don't need to put logger in every class?
Konstantin Petrukhnov
02/10/2020, 11:24 AM
@oshai ping 🙂
o
oshai
03/23/2020, 10:29 AM
saw it only now... In my opinion you should have a logger in every class, so the lib should get it from the users of the lib