mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
Enable the whole logcat log (#143119)
Help with https://github.com/flutter/flutter/issues/142572.
This commit is contained in:
parent
aed2ae54e1
commit
e64a372d6b
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user