adb-logcat
Dump a log of system messages. tldr-pages
On several platforms
Several platforms
Display system logs
adb logcatIdentifyDisplay lines that match a regex
adb logcat -e regexIdentifyDisplay logs for a tag in a specific mode (Verbose, Debug, Info, Warning, Error, Fatal, Silent), filtering other tags
adb logcat tag:mode *:SIdentifyDisplay logs for React Native applications in Verbose mode Silencing other tags
adb logcat ReactNative:V ReactNativeJS:V *:SIdentifyDisplay logs for all tags with priority level Warning and higher
adb logcat *:WIdentifyDisplay logs for a specific PID
adb logcat --pid process_idIdentifyDisplay logs for the process of a specific package
adb logcat --pid $(adb shell pidof -s package)IdentifyColor the log (usually use with filters)
adb logcat -v colorIdentify