title: How to print log in android c++ file?
body: <p>I added </p>
  
  <pre><code>#define LOG_NDEBUG 0
  #define LOG_TAG "StagefrightMediaScanner"
  #include &lt;utils/Log.h&gt;
  </code></pre>
  
  <p>in the <code>libstagefright/StagefrightMediaScanner.cpp</code></p>
  
  <p>but can not print anything using LOGV and LOGE, does any other things can I need to do?</p>