localtrace 0.2.0

A local tracing library for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
// SPDX-License-Identifier: MPL-2.0
#[macro_export]
macro_rules! trace {
    ($msg:expr) => {
        Err($crate::Error::new($msg))
    };

    ($fmt:expr, $($arg:tt)*) => {
        Err($crate::Error::new(format!($fmt, $($arg)*)))
    };
}