stevenliebregt / fun_time

Time your Rust functions!
MIT License
5 stars 0 forks source link

Add posibility to log messages with different log levels #5

Closed qarmin closed 1 year ago

qarmin commented 1 year ago

For now only this two are allowed

#[fun_time(message = "ABC", reporting = "log")] # Prints with info!
#[fun_time(message = "ABC", reporting = "println")] # Prints with println!

but I want to print such messages with debug! macro instead

stevenliebregt commented 1 year ago

I will have a look at that

stevenliebregt commented 1 year ago

Fixed in 0.3.2 https://github.com/stevenliebregt/fun_time/releases/tag/0.3.2