title: What is the best way to define log TAG constant in Kotlin?
body: <p>I'm creating my first Kotlin classes in my Android application. Usually for logging purposes I have a constant with name <code>TAG</code>. What I would do in Java is:</p>
  
  <pre><code>private static final String TAG = MyClass.class.getSimpleName();
  </code></pre>
  
  <p>I know that in Kotlin classes I can create <code>TAG</code> using this way:</p>
  
  <pre><code>private val TAG = MyClass::class.java.simpleName
  </code></pre>
  
  <p>This is OK for projects that use Java and Kotlin but what if I start a new project that is only in Kotlin? How can I define there <code>TAG</code> constant? Is there more Kotlin way where I don't have this strange construction <code>class.java.simpleName</code>?</p>