1.查询wifi中手机ip为192.168.1.124的 com.tencent.mm 包的日志, 这是可行的
adb -s 192.168.1.124:5555 logcat | findstr "com.tencent.mm"
2.将上述日志保存到文件,总是得到空文件,不可行
adb -s 192.168.1.124:5555 logcat | findstr "com.tencent.mm" >F:\日志\mmwzAppLog.txt
如果想获取指定app的日志,需要用进程ID ,PID过滤
1.获得pid
adb -s 192.168.1.124:5555 shell ps | findstr "mmwzcloud"

2.获取进程日志文件,这样是可行的
adb -s 192.168.1.124:5555 logcat -v time --pid=20470 > F:\日志\log.txt