I\'m creating my first Kotlin classes in my Android application. Usually for logging purposes I have a constant with name TAG. What I would do in Java is:
TAG
You can try this:
companion object { val TAG = ClearCacheTask::class.java.simpleName as String }