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
Updated answer with Kotlin 1.2.20
Kotlin 1.2.20
class MyClass { companion object { @JvmField public val FOO = 1 } }
uses
MyClass.FOO