This is not correct for kotlin-logging.

Hi Osha, Thank you for your response. I edited my post to make it more accurate by excluding Kotlin libraries where I used “you have to pass the class instance”. But as long as we can define extensions in Kotlin, why we should use “val logger” as kotlin-logging has, which is why I still think kotlin-logging limited to Java restrictions.
Would you provide other inaccurate parts?