telerik / mobile-cli-lib

Contains common infrastructure for CLIs - mainly AppBuilder, NativeScript, DDB and Proton.
Apache License 2.0
11 stars 10 forks source link

Filter android logs by process id #990

Closed petekanev closed 7 years ago

petekanev commented 7 years ago

Problem

https://github.com/NativeScript/nativescript-cli/issues/2818 - When an app was started the CLI's logging filter would parse each incoming adb line and check it against a regex that either JS: was the tag used, or that any of the accepted tags's string was contained within the logcat line. That would at times return incorrect, or incomplete logs.

Proposed solution

Read the process id for the application process from adb, then filter logs by the pid.

justcodebuilduser commented 7 years ago

:broken_heart:

justcodebuilduser commented 7 years ago

:broken_heart:

justcodebuilduser commented 7 years ago

:broken_heart:

justcodebuilduser commented 7 years ago

:broken_heart:

justcodebuilduser commented 7 years ago

:broken_heart:

justcodebuilduser commented 7 years ago

:broken_heart:

justcodebuilduser commented 7 years ago

:broken_heart:

justcodebuilduser commented 7 years ago

:broken_heart: