-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Closed
Labels
C-ExamplesAn addition or correction to our examplesAn addition or correction to our examplesC-UsabilityA targeted quality-of-life change that makes Bevy easier to useA targeted quality-of-life change that makes Bevy easier to use
Description
What problem does this solve or what need does it fill?
It's handy to be able to have this simple diagnostic functionality at hand, but it also clutters up the console.
It would be nice to be able to easily turn it on and off (connected with a command-line flag to the program, an environment variable, or some system which changes the state.)
What solution would you like?
A PrintDiagnosticsFlag
resource which could be toggled on or off; the system would exit if off.
What alternative(s) have you considered?
One can put the diagnostics in a stage with a run criteria. This adds a lot of boilerplate, though.
Additional context
Not urgent, just would be handy.
Metadata
Metadata
Assignees
Labels
C-ExamplesAn addition or correction to our examplesAn addition or correction to our examplesC-UsabilityA targeted quality-of-life change that makes Bevy easier to useA targeted quality-of-life change that makes Bevy easier to use