# Print debugging information at development time
## What does this library do?
* Print nice debugging information;
* Does not affect performance in the release version;
## **Usage**
Add this to your `Cargo.toml` :
``` toml
[dependencies]
develop_debug = "{ver}"
```
Use the `develop_debug!` :
``` rust
{how_to_use}
```
Output in debug mode :
``` output
π example
π balabala...
β¨ do something...
πΉ βΉ x βΊ = βΉdear XβΊ
πΉ βΉ say βΊ = βΉhello world!βΊ
πΆ array.iter()
πΈ "a"
πΈ "b"
πΈ "c"
π± done.
π± genius!
π₯ error.
π₯ dude, this road is blocked.
π° Use it just as you would with the `println!()` macro.
```
No output in `--release` mode.
## **What are the benefits of `develop_debug!` shortcut?**
π¬ I think it's easy to recognize in the source code ;
π€€ I think it's convenient to prompt in `VS Code` ;
π€ I think it visually splits up the code ;
## **Does the `develop_debug!` macro affect code performance?**
* It doesn't affect code performance at all;
* When compiled to the release, `develop_debug!` actually expanded to empty;
## If the document is not semantically fluent
π₯Ί, please forgive my lack of English.
All the documents are explained by the translation software;
If you can provide a better translation, please contact me at [code@autodo.xyz](mailto:code@autodo.xyz);
**I hope this simple library is of some help to you.**
π π π π π π