elichai/log-derive
A procedural macro for auto logging output of functions
4 Releases
Latest: 6y ago
v0.4.0Latest
📋 Changes
- Add a `log_ts` feature that logs the time it takes the function to run (std only) (Thanks @alanthinker )
- Add support for custom Result types like `type MyResult<T> = Result<T, MyErr>;`.
- Bug fixes and more.
v0.2.4
📋 Changes
- Optimized the resulting ASM Code by using `move` on the closure and by not saving it into a variable.
- Preserved more of the original spans, although right now they don't help a lot https://github.com/rust-lang/rust/issues/43081
- Updated the Fibonacci example
v0.2.0
Now it works in traits too. instead of creating a second function it now creates a closure.
v0.1.0
