So, here is a part of logcat output:
...
04-02 08:11:01 100 105 I ReactNativeJS: {userInfo:
04-02 08:11:01 100 105 I ReactNativeJS: {id:123,
04-02 08:11:01 100 105 I ReactNativeJS: user_id:456,
04-02 08:11:01 100 105 I ReactNativeJS: fName:'Thomas',
04-02 08:11:01 100 105 I ReactNativeJS: lName:'Anderson',
04-02 08:11:01 100 105 I ReactNativeJS: etc:'someValue',
04-02 08:11:01 100 105 I ReactNativeJS: etc:null,
04-02 08:11:01 100 105 I ReactNativeJS: etc:null,
.
.
.
... }
... }
...
I managed to log out "userInfo" with regex filter (adb logcat -e userInfo
), but it is too large.
Is there a way to log out just fName and lName?
I tried: adb logcat -e userInfo|find "fName"
, it works, but I need both fName and lName.
Or to filter out/exclude tags with null values?
I searched for this, but couldn't find the right answer.
Thanks in advance :)