Function traced

Source
pub fn traced(filter: &str, func: impl FnOnce()) -> Vec<String>
Expand description

Trace the given function using the given filter (in EnvFilter format). Return strings representing the traced logs.