Function test_span::get_spans_for_root
source · pub fn get_spans_for_root(root_id: &Id, filter: &Filter) -> Span
Expand description
Returns a Span
, a Tree containing all the spans that are children of root_id
.
This function filters the Span
children and Records
,
to only return the ones that match the set verbosity level