flutter / flutter/devtools

Allow to disable console output in dev tools

Ouverte
#3,996 4 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
devtools app performance P2 passed first triage proposal screen: debugger
Langage dominant
Dart
Étoiles
1.7k
Forks
404
Merge moyen
6 j 17 h
PR mergées (30 j)
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.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.