log-instrument 0.1.2

Offers an attribute procedural macro that adds `log::trace!` events at the start and end of attributed functions.
Documentation
use log::*;

/// Outputs:
/// ```text
/// [2023-08-20T21:00:16Z TRACE two] one enter
/// [2023-08-20T21:00:16Z TRACE two] one exit
/// [2023-08-20T21:00:16Z INFO  two] None
/// [2023-08-20T21:00:16Z TRACE two] one enter
/// [2023-08-20T21:00:16Z TRACE two] one exit
/// [2023-08-20T21:00:16Z INFO  two] Some(["a", "b"])
/// ```
fn main() {
    env_logger::builder()
        .filter_level(LevelFilter::Trace)
        .init();
    info!("{:?}", one(&mut None));
    info!(
        "{:?}",
        one(&mut Some(vec![String::from("a"), String::from("b")]))
    );
}
#[log_instrument::instrument]
fn one(x: &mut Option<Vec<String>>) -> Option<&mut [String]> {
    match x {
        Some(y) => Some(y),
        _ => None,
    }
}