cs-trace 0.14.0

Tracing utilities.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

#[cfg(test)]
mod tests {
    use cs_trace::{create_trace, child};

    #[test]
    fn creates_child() {
        let trace = create_trace!("test");
        child!(trace, "child");
    }

    #[test]
    fn creates_child_from_ref() {
        let trace = create_trace!("test");
        child!(&trace, "child");
    }
}