frogger
02/15/2018, 1:13 PMMyClass::class.java.simpleName
. I want to setup a logger for my kotlin file (no classes inside), can I get the FQN of the kotlin file somehow? e.g. com.example.stuff.UtilitiesKt
?Egor Trutenko
02/15/2018, 1:16 PMMyClass::class.java.getCanonicalName()
Remember, by calling ::class.java
you get access to all the methods defined in Class
from Java libraryfrogger
02/15/2018, 1:19 PMspand
02/15/2018, 1:30 PMtlm.javaMethod!!.declaringClass.name
frogger
02/15/2018, 1:33 PMspand
02/15/2018, 1:36 PMfrogger
02/15/2018, 1:39 PM