How do I hide this message in the Flutter console - ViewPostIme pointer 0

Viewed 3908

Everytime I tap the screen of my device, I see this message in the Flutter console

D/ViewRootImpl@38eee14[MainActivity]( 7994): ViewPostIme pointer 0

followed by

D/ViewRootImpl@38eee14[MainActivity]( 7994): ViewPostIme pointer 1

These messages crowd the console and get in the way of reading actual important logs, so is there a way to get rid of them?

3 Answers

I did it with

flutter run | grep -v "D/ViewRootImpl"

In VS Code, you can apply this search filter in the Debug Console:

!ViewPostIme

You can add more filters seperated by a comma:

!ViewPostIme,!ViewRootImpl

The '!' before a phrase excludes logs where the phrase occurs.

Example:

enter image description here

Related