macro_rules! code_location {
($color:ident) => { ... };
}
Expand description
This macro computes the name of the function in which it is called and the line number. We adapted it from: https://stackoverflow.com/questions/38088067/equivalent-of-func-or-function-in-rust