[][src]Macro drone_core::eprint

macro_rules! eprint {
    ($str:expr) => { ... };
    ($($arg:tt)*) => { ... };
}

Prints to the log port #1, if a debug probe is connected.

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

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

Examples

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