Crates.io | autolog |
lib.rs | autolog |
version | 0.1.0 |
source | src |
created_at | 2022-09-09 06:59:28.610887 |
updated_at | 2022-09-09 06:59:28.610887 |
description | A mini Rust library for logging when a function is called |
homepage | https://github.com/jewlexx/autolog |
repository | https://github.com/jewlexx/autolog |
max_upload_size | |
id | 661584 |
size | 7,636 |
A mini Rust library for logging when a function is called.
Add this to your Cargo.toml
:
[dependencies]
autolog = "0.1"
use autolog::autolog;
// or
#[macro_use]
extern crate autolog;
#[autolog]
fn main() {
println!("Hello, world!");
}
Made with ❤️ by Juliette Cordor