1
2
3
4
5
6
7
8
9
10
11
12
13
14
pub use log_instrument_macros::*;

pub struct __Instrument<'a>(&'a str);
impl<'a> __Instrument<'a> {
    pub fn new(s: &'a str) -> __Instrument<'a> {
        log::trace!("{s} enter");
        __Instrument(s)
    }
}
impl<'a> std::ops::Drop for __Instrument<'a> {
    fn drop(&mut self) {
        log::trace!("{} exit", self.0);
    }
}