Function test_span::get_logs_for_root
source · pub fn get_logs_for_root(root_id: &Id, filter: &Filter) -> Records
Expand description
Returns Records, which is a Vec, containing all entries recorded by children of root_id
.
This function filters the Records
to only return the ones that match the set verbosity level.
/ ! \ Logs recorded in spawned threads won’t appear here / ! \ use get_all_logs
instead.