Unverified Commit e64a372d authored by keyonghan's avatar keyonghan Committed by GitHub

Enable the whole logcat log (#143119)

Help with https://github.com/flutter/flutter/issues/142572.
parent aed2ae54
......@@ -742,13 +742,8 @@ class AndroidDevice extends Device {
}
_loggingProcess = await startProcess(
adbPath,
// Make logcat less chatty by filtering down to just ActivityManager
// (to let us know when app starts), flutter (needed by tests to see
// log output), and fatal messages (hopefully catches tombstones).
// For local testing, this can just be:
// <String>['-s', deviceId, 'logcat']
// to view the whole log, or just run logcat alongside this.
<String>['-s', deviceId, 'logcat', 'ActivityManager:I', 'flutter:V', '*:F'],
// Catch the whole log.
<String>['-s', deviceId, 'logcat'],
);
_loggingProcess!.stdout
.transform<String>(const Utf8Decoder(allowMalformed: true))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment