rust/compiler/rustc_log
Xiangfei Ding 1e382a172f
move EnvFilter into its own layer
`tracing` at the time of writing has a feature (?) in its Filter
implementation, so that filters like EnvFilter are consulted for status
of a span or event and whether it is marked as interesting for logging.
Combining a Filter with another layer through the `with_filter`
combinator produces a filtered layer that enables an event unless it is
statically determined that the event is uninteresting.
However, if the filter is dynamic, because of filtering on span names or
field values as an example, events are **always** enabled.
There is an `event_enabled` predicate on `EnvFilter` implementation but
it falls back to default and, thus, the dynamic filters are **unused**.

This patch re-enables span- and field-based filters.
2025-10-12 18:37:22 +00:00
..
src move EnvFilter into its own layer 2025-10-12 18:37:22 +00:00
Cargo.toml Update tracing, again 2025-09-08 09:23:37 -07:00