bevy/crates/bevy_diagnostic/src
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
..
diagnostic.rs Diagnostic reset sum ema (#19337) 2025-05-22 19:04:24 +00:00
entity_count_diagnostics_plugin.rs
frame_count_diagnostics_plugin.rs Remove bevy_core (#16897) 2024-12-19 18:36:51 +00:00
frame_time_diagnostics_plugin.rs Diagnostics smoothing factor fix (#17354) 2025-01-14 01:13:24 +00:00
lib.rs Expose LogDiagnosticsState (#19323) 2025-05-23 20:56:36 +00:00
log_diagnostics_plugin.rs Expose LogDiagnosticsState (#19323) 2025-05-23 20:56:36 +00:00
system_information_diagnostics_plugin.rs Rename bevy_platform_support to bevy_platform (#18813) 2025-04-11 23:13:28 +00:00