logcall
An attribute macro that logs the return value from function call.
This is a reimplementation of the log-derive crate with async-trait compatibility.
Usage
use logcall;
// prints:
// [2023-07-22T06:55:10Z INFO main] foo() => 2
// [2023-07-22T06:55:10Z ERROR main] bar() => Err(2)
// [2023-07-22T06:55:10Z INFO main] baz() => Ok(2)