Macro gdnative::godot_dbg[][src]

macro_rules! godot_dbg {
    () => { ... };
    ($val:expr) => { ... };
    ($val:expr,) => { ... };
    ($($val:expr),+ $(,)?) => { ... };
}

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.