[][src]Macro drone_core::println

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

Prints to the log port #0, with a newline, if a debug probe is connected.

Use the format! syntax to write data to the standard output. See core::fmt for more information.

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

Examples

use drone_core::println;

println!(); // prints just a newline
println!("hello there!");
println!("format {} arguments", "some");