adb logcat filter by package name
<p>I'm using <code>adb logcat</code> in the <code>**\Android\sdk\platform-tools</code> directory. I'd like to filter out the log messages by package name, so I can see just the log messages that come from my app. I've gotten as far as using </p>

<pre><code>adb logcat *:E
</code></pre>

<p>which only displays the messages on the error level. Then I tried to filter out things by tags (so if there is no other way to filter things out by app/package name, I thought I'd just put a name in the tag to filter those), but running something like </p>

<pre><code>adb logcat TAG:E
</code></pre>

<p>doesn't seem to filter out anything. I've had a look at the <a href="https://developer.android.com/studio/command-line/logcat.html#outputFormat" rel="noreferrer"> Android Studio user guide</a>, but that didn't get me any further, either.</p>

<p>I'm using Android Studio, and I'd like to see the log of my app after the app crashed when I'm really using it and not just debugging in Android Studio. </p>

<p>Thanks in advance for any help or tips.</p>