Macro drone_core::eprintln [−][src]
macro_rules! eprintln { () => { ... }; ($fmt:expr) => { ... }; ($fmt:expr, $($arg:tt)*) => { ... }; }
Prints to the log 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");