macro_rules! function_name_full {
    () => { ... };
}
Expand description

Return the current function name full path as a &'static str, e.g. "my_lib::my_mod::my_func".

function_name_full must be a macro (and not a function) to reliably use std::any::type_name::<T>() introspection.

Credit to https://github.com/popzxc/stdext-rs/blob/2179f94475f925a2eacdc2f2408d7ab352d0052c/src/macros.rs#L44-L74