Allow to disable console output in dev tools
- Vorherrschende Sprache
- Dart
- Sterne
- 1.7k
- Forks
- 404
- Ø Merge
- 6 T. 17 Std.
- Gemergte PRs (30 T.)
- 18
Beschreibung
## 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.
Beitragsleitfaden
Rechercherichtung
Es werden keine Dateien oder Tests genannt. Beginne damit, den DevTools-Konsolenbereich zu lokalisieren und nachzuverfolgen, wie Anwendungsprotokollmeldungen ihn erreichen. Erledigt ist die Aufgabe, wenn Benutzer Konsolenmeldungen unterdrücken oder den Bereich schließen können, sodass die Ausgabe ignoriert wird, ohne dass die DevTools-Oberfläche einfriert.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- dart
- Bereich
- devtools
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100