我在做android的RIL开发。
项目规模很大,所以各种log信息也很多,想过滤一下
如果不使用grep之类的命令
能否直接让adb logcat 只打印RILC/RILJ信息?部分信息如下:
E/RILC    (  128):  RIL DEBUG TEST IN:responseRilSignalStrength
V/RILJ    (  276): [UNSL]< UNSOL_SIGNAL_STRENGTH {7, 255, -1, -1, -1, -1, -1, 99, -1, -1}
E/RILC    (  128):  RIL DEBUG TEST IN:responseRilSignalStrength
V/RILJ    (  276): [UNSL]< UNSOL_SIGNAL_STRENGTH {7, 255, -1, -1, -1, -1, -1, 99, -1, -1}
E/Sensors (  203): GsSensor: line +83 ~~~handle===0~~en==0~~!n
D/PhoneWindow(  255): couldn't save which view has focus because the focused view android.view.View@405663f8 has no id.
D/ConnectivityService(  203): receive screen off intent!
D/ConnectivityService(  203): getMobileDataEnabled returning true
D/RILJ    (  276): [0036]> SCREEN_STATE: false
V/DATA    (  276): [DCT] intent received :android.intent.action.SCREEN_OFF
I/PowerManagerService(  203): Increasing sampling rate.
D/RILJ    (  276): [0036]< SCREEN_STATE