Makes adb logcat colored and adds the feature of being able to filter by app or keywords.
Check how to get last release by your Operational Systems procedures here INSTALL.md
@ @
@. @
@@ *@@@@@@#. %@
@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@# @@@@@@@@@@@@@@@@ -@@@@@@
@@@@@@@ @@@@@@@@@@@@@@. @@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
:@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Usage:
adbcat logcat [flags]
Examples:
- adbcat logcat
- adbcat logcat -o logcat.txt
- adbcat logcat -p com.android.chrome
- adbcat logcat --show-time --show-pid
Flags:
--adb-path string Path to the ADB binary
-c, --clear Clear the log before running
-d, --device Use the first device (adb -d)
-e, --emulator use the first emulator (adb -e)
--exclude strings Exclude all messages with specified strings. You can specify multiple values by comma-separated terms or by repeating the flag. Use @filename to load from text file.
-h, --help help for logcat
--include strings Include only messages with specified strings. You can specify multiple values by comma-separated terms or by repeating the flag. Use @filename to load from text file.
-o, --log-file string Write logcat output to file.
-l, --min-level string Minimum log level to be displayed (V,D,I,W,E,F) (default 'V'). (default "V")
-p, --package string Application package name.
-s, --serial string Sevice serial number (adb -s)
--show-pid Displey PID/TID
--show-time Display time
Global Flags:
-D, --debug-log Enable debug logging
-q, --quiet Silence (almost all) logging
This is a Golang port~ of github.com/JakeWharton/pidcat.
Run adb logcat and parse his output. If --package is provided, adb shell ps is used to get the PIDs of the wanted packages and filter by lines/entries have a PID assigned to them.