pub fn element_pp_log(
element_type: ElementType,
name: &str,
pipeline_id: Option<&str>,
) -> PpLogExpand description
Builds the PpLog every element constructs for its own Element::pp_log
field, and that crate::pipeline::ChainBuilder/crate::pipeline::Pipeline
rebuild once they know which pipeline an element belongs to. Keeps the
element type, instance name, and pipeline id as separate fields, so a log
reader does not need to parse a combined display string. The pipeline id is
None for an element that isn’t wired into a Pipeline at all (e.g. most
of this crate’s own tests). Public so a custom Element
implemented outside this crate (see ElementType::Other) can build
its own pp_log field the same way.