I'm trying to statically get an object's name (For logging uses)
The equivalence for:
public class SomeClass
{
private static final String TAG = SomeClass.class.getSimpleName()
}
In Kotlin:
object SomeObject
{
private const val TAG = ?
}
I'm trying to statically get an object's name (For logging uses)
The equivalence for:
public class SomeClass
{
private static final String TAG = SomeClass.class.getSimpleName()
}
In Kotlin:
object SomeObject
{
private const val TAG = ?
}