logcall 0.1.13

An attribute macro that logs the function return value.
Documentation
1
2
3
4
5
6
7
8
9
10
11
#[allow(unused_mut)]

#[logcall::logcall("warn")]
async fn f(mut a: u32) -> u32 {
    a
}

#[tokio::main]
async fn main() {
    f(1).await;
}