bevy/release-content/migration-guides/log-diagnostics-hash-set.md
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

233 B

title authors pull_requests
Change filters container of `LogDiagnosticsState` to `HashSet`
@hukasu
19323

Make LogDiagnosticsState's filter container and argument of LogDiagnosticPlugin::filtered into HashSet.