Macro gdnative_core::godot_dbg
source · macro_rules! godot_dbg {
() => { ... };
($val:expr) => { ... };
($val:expr,) => { ... };
($($val:expr),+ $(,)?) => { ... };
}
Expand description
Prints and returns the value of a given expression for quick and dirty debugging, using the engine’s logging system (visible in the editor).
This behaves similarly to the std::dbg!
macro.