pub fn info_enabled_for_target(target: &str) -> boolExpand description
Whether the current subscriber would log a detlog! record emitted in the
module target. In-process that record passes two checks: detlog!’s own
tracing::enabled!(INFO), a hint with no fields, and then the
tracing::info! event itself, which carries one field, the message. A
directive with a field filter (detcore::random[{name}]=warn) applies to
the hint whatever its fields but to the event only when the event has that
field, so the two checks can disagree; the record is logged only when both
pass, and so this answers true only when both probes do.