Macro xplane::debug

source ·
macro_rules! debug {
    ($x:ident, $($arg:tt)*) => { ... };
}
Expand description

Writes a message to the developer console and Log.txt file. Keep output to the X-Plane log to a minimum. This file can get rather cluttered.

§Errors

This macro will return a Result<(), NulError>. An Err may be returned if the formatting you specify produces a NUL byte within the string.