Skip to content

Instantly share code, notes, and snippets.

@stefanJi
Created November 2, 2021 02:39
Show Gist options
  • Save stefanJi/3529209c7178ba0b2002d48b8424495f to your computer and use it in GitHub Desktop.
Save stefanJi/3529209c7178ba0b2002d48b8424495f to your computer and use it in GitHub Desktop.
adb logcat spical application log
package=$1
tag=$2
adb logcat --pid=`adb shell pidof -s ${package}` -v color '*:S' '${tag}:D'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment