title: How to filter Android adb shell logcat using multiple tags at one time?
body: <p>As we know, we can use the command to filter the log in Android:</p>
  
  <pre><code>adb shell logcat | grep "tag1"
  </code></pre>
  
  <p>Then, the logs which contain the tag1 will be output.</p>
  
  <p>Now, I want to use one command that can output the logs which contain the tag1 and tag2.</p>
  
  <p>I'm try to use, but it cannot work.</p>
  
  <pre><code>adb shell logcat | grep "tag1 tag2"
  </code></pre>
  
  <p>How to do it?</p>