macro_rules! debug {
($fmt:literal $(, $arg:expr)* $(,)?) => { ... };
}Expand description
Dynamic debug macro. When dynamic_debug feature is enabled,
uses per-callsite static key for runtime control via /proc/dynamic_debug/control.
Otherwise falls back to log::debug!.
§Note
This macro doesn’t depend on the derive macro #[ddebug::named], so the ‘f’ flag can’t be used to print the function name.