[][src]Macro drone_cortex_m::eprintln

macro_rules! eprintln {
    () => { ... };
    ($fmt:expr) => { ... };
    ($fmt:expr, $($arg:tt)*) => { ... };
}

Prints to the ITM port #1, with a newline, if a debug probe is connected.

Equivalent to the println! macro, except that output goes to the port #1 instead of #0. See println! for example usage.

Use eprintln! only for error and progress messages. Use println! instead for the primary output of your program.

Examples

eprintln!("Error: Could not complete task");