bevy/examples/diagnostics
Lucas Franca d3012df755
Expose LogDiagnosticsState (#19323)
# Objective

Closes #19175 
Make `LogDiagnosticsState` public to be able to edit its filters

## Solution

Make `LogDiagnosticsState` public and add methods to allow editing the
duration and filter

## Testing

`cargo run -p ci`

## Showcase

Updated `log_diagnostics` example

![image](https://github.com/user-attachments/assets/25bc00f3-40e2-4b4a-b90b-137cc1f307a5)
2025-05-23 20:56:36 +00:00
..
custom_diagnostic.rs Inverse missing_docs logic (#11676) 2024-02-03 21:40:55 +00:00
enabling_disabling_diagnostic.rs Allow users to customize history length in FrameTimeDiagnosticsPlugin (#17259) 2025-01-12 18:18:14 +00:00
log_diagnostics.rs Expose LogDiagnosticsState (#19323) 2025-05-23 20:56:36 +00:00