1

enter image description here

I get this logs and hard to check print() on console. How can I minimize these logs popping up every second?

1 Answer 1

2

One solution is by filtering the logs according to your print statements, all you have to do is to add a unique keyword of your own in the print statement followed by the flutter code to print as follow:

print('DebugPrintStatement: $FLUTTER_CODE_TO_PRINT');

then by pressing Ctrl + F in the debug console and enter your unique keyword (ex: DebugPrintStatement)

and just make sure that you look at the logs from debug console tab not Logcat tab!

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.