# 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  |
||
|---|---|---|
| .. | ||
| diagnostic.rs | ||
| entity_count_diagnostics_plugin.rs | ||
| frame_count_diagnostics_plugin.rs | ||
| frame_time_diagnostics_plugin.rs | ||
| lib.rs | ||
| log_diagnostics_plugin.rs | ||
| system_information_diagnostics_plugin.rs | ||