title: Why use TAG in most of the Android logging code
body: <p>I can see this is common practice among Android developers.</p>
  
  <pre><code>public final class TasksSample extends ListActivity {
      private static final String TAG = "TasksSample";
      private void method() {
          Log.i(TAG, "message");
      }
  }
  </code></pre>
  
  <p>Will it be easier, if I do it this way? I need not to declare TAG for every new class.</p>
  
  <pre><code>public final class TasksSample extends ListActivity {
      private void method() {
          Log.i(getClass().getName(), "message");
      }
  }  
  </code></pre>