title: Android logcat command
body: <p>I want to get "last 25 logs of tag name CordovaLog" 
  I tried </p>
  
  <pre><code>logcat -t 25 CordovaLog
  </code></pre>
  
  <p>I do get 25 logs but of all the tag names. Also what if there are no 25 Cordova Log ? Will it return whatever is available.</p>
  
  <p>So what is the right command ?
  Thanks.</p>
  
  <p>EDIT 1-</p>
  
  <pre><code>        Process process = Runtime.getRuntime().exec("logcat -d -t 25 CordovaLog:V *:S"); 
          BufferedReader bufferedReader = new BufferedReader( new InputStreamReader(process.getInputStream())); 
          StringBuilder log = new StringBuilder(); 
          String line;
          while ((line = bufferedReader.readLine()) != null)  
          { 
                  log.append(line+"&lt;br /&gt;");
          } 
          return log.toString();
  </code></pre>
  
  <p>So Is this code getting all the logs are filting to get "Cordova logs" ? OR it's just getting "Cordova logs" ? 
  It's crashing as I have lots of logs. </p>