PIDCAT(1)

✨ PIDCAT(1) ✨

okay so this is the manual page for pidcat, living in section 1 of the User Commands manual, and bestie it's about to change your whole Android dev era πŸ’…


🌸 NAME 🌸

pidcat β€” log filter and viewer for Android development πŸ›βœ¨


πŸŽ€ SYNOPSIS πŸŽ€

pidcat [-h] [-w N] [-l {loglevel}] [--color-gc] [--always-display-tags]
[-s DEVICE_SERIAL] [-d] [-e] [package [package ...]]

πŸ¦‹ DESCRIPTION πŸ¦‹

So this is an update to Jeff Sharkey's excellent logcat color script, and the whole vibe is: it only shows log entries for processes from a specific application package. no cap πŸ’–

Here's the struggle, fr fr: during application development you often want to only display log messages coming from your app. But unfortunately, because the process ID changes every time you deploy to the phone, it becomes a challenge to grep for the right thing 😭 like, the PID ghosted you the second you redeployed.

This script solves that problem by filtering by application package. Supply the target package as the sole argument to the python script and enjoy a more convenient development process πŸ‘‘ periodt.


✨ Required Arguments: ✨

  • package β€” Application package name(s) 🫢 (yes you can hand it more than one, she's flexible like that)

πŸ’œ Optional Arguments: πŸ’œ

  • -h, --help β€” show this help message and exit πŸŽ€ the classic.
  • -w N, --tag-width N β€” Width of log tag πŸ“
  • -l {V,D,I,W,E,F}, --min-level {V,D,I,W,E,F} β€” Minimum level to be displayed πŸ”
  • --color-gc β€” Color garbage collection πŸ—‘οΈπŸŒˆ
  • --always-display-tags β€” Always display the tag name 🏷️
  • -s DEVICE_SERIAL, --serial DEVICE_SERIAL β€” Device serial number (adb -s option) πŸ“±
  • -d, --device β€” Use first device for log input (adb -d option). πŸ”Œ
  • -e, --emulator β€” Use first emulator for log input (adb -e option). πŸ–₯️✨

🌈 AUTHOR 🌈

This manual page was written by Harlan Lieberman-Berg for the Debian project, adapted from the help2man output 🫢 so yes, credit where credit is due, bestie.


πŸ’– and that's the whole page, mwah. go forth and filter those logs, you absolute icon.

okay so this version of pidcat is pidcat 1.4.1, and it was dated January 2016 β€” yeah she's a little vintage but she ate and left no crumbs πŸŽ€βœ¨ bye bestie!