
# 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 
9 lines
233 B
Markdown
9 lines
233 B
Markdown
---
|
|
title: Change filters container of `LogDiagnosticsState` to `HashSet`
|
|
authors: ["@hukasu"]
|
|
pull_requests: [19323]
|
|
---
|
|
|
|
Make `LogDiagnosticsState`'s filter container and argument of
|
|
`LogDiagnosticPlugin::filtered` into `HashSet`.
|