openstf / adbkit

A pure Node.js client for the Android Debug Bridge.
Other
825 stars 241 forks source link

Add openLogcat option to filter output #111

Open luccasmaso opened 5 years ago

luccasmaso commented 5 years ago

Hi! I saw that the https://www.npmjs.com/package/adbkit-logcat#constants has options for priority. Could this be integrated with the openLogcat here? Thanks

The priority is one of the following character values, ordered from lowest to highest priority:
V: Verbose (lowest priority)
D: Debug
I: Info
W: Warning
E: Error
F: Fatal
S: Silent (highest priority, on which nothing is ever printed)

https://developer.android.com/studio/command-line/logcat#filteringOutput