Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
ce59412c
Commit
ce59412c
authored
Sep 28, 2017
by
Todd Volkert
Committed by
GitHub
Sep 28, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove hard-coded "Runner" from iOS simulator logs filtering (#12306)
parent
283f27d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
simulators.dart
packages/flutter_tools/lib/src/ios/simulators.dart
+3
-2
No files found.
packages/flutter_tools/lib/src/ios/simulators.dart
View file @
ce59412c
...
...
@@ -450,6 +450,7 @@ class IOSSimulator extends Device {
@override
DeviceLogReader
getLogReader
({
ApplicationPackage
app
})
{
assert
(
app
is
IOSApp
);
_logReaders
??=
<
ApplicationPackage
,
_IOSSimulatorLogReader
>{};
return
_logReaders
.
putIfAbsent
(
app
,
()
=>
new
_IOSSimulatorLogReader
(
this
,
app
));
}
...
...
@@ -519,7 +520,7 @@ Future<Process> launchSystemLogTool(IOSSimulator device) async {
class
_IOSSimulatorLogReader
extends
DeviceLogReader
{
String
_appName
;
_IOSSimulatorLogReader
(
this
.
device
,
ApplicationPackage
app
)
{
_IOSSimulatorLogReader
(
this
.
device
,
IOSApp
app
)
{
_linesController
=
new
StreamController
<
String
>.
broadcast
(
onListen:
_start
,
onCancel:
_stop
...
...
@@ -583,7 +584,7 @@ class _IOSSimulatorLogReader extends DeviceLogReader {
final
String
content
=
match
.
group
(
4
);
// Filter out non-Flutter originated noise from the engine.
if
(
category
!=
'Runner'
)
if
(
_appName
!=
null
&&
category
!=
_appName
)
return
null
;
if
(
tag
!=
null
&&
tag
!=
'(Flutter)'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment