Expand description
§AutoLog
A mini Rust library for logging when a function is called.
§Features
- Tracing support
- Custom log messages
- Variables in log messages (function name and function arguments)
§Usage
Add this to your Cargo.toml
:
[dependencies]
autolog = "0.1"
§Example
use autolog::autolog;
// or
#[macro_use]
extern crate autolog;
#[autolog]
fn main() {
println!("Hello, world!");
}
§License
Made with ❤️ by Juliette Cordor
Attribute Macros§
- autolog
- The main autolog macro