flutter / flutter/devtools

Allow to disable console output in dev tools

Open
#3,996 4 comments 0 reactions 0 assignees View on GitHub
devtools app performance P2 passed first triage proposal screen: debugger
Dominant language
Dart
Stars
1.7k
Forks
404
Avg merge
6d 17h
Merged PRs (30d)
18

Description

## Use case

My application uses plenty of logging during development. These are not just `print` statements but output from `logger` package. It's not unusual at some point that there will be 100s of lines printed to STDOUT, for example when my Flutter application is making network requests (I print out serialized responses).

Of course most of this is disabled for production builds. However when debugging my application this output causes the dev tools to freeze as it's trying to catch up and print everything to the console below.

## Proposal

I think ideal solution would be to improve performance of the web application (devtools). But I guess that might be tricky so at least allow me to:

1. Surpress messages to console completely (I already have output in my terminal where `flutter run` process is launched).
2. Allow me to close console pane completely and ignore any messages.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.