Macro errln::errln [] [src]

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

Macro for printing to the standard err, with a newline. On all platforms, the newline is the LINE FEED character (\n/U+000A) alone (no additional CARRIAGE RETURN (\r/U+000D).

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

Panics

Panics if writing to io::stderr() fails.

Examples

#[macro_use]
extern crate errln;


errln!("hello there!");
errln!("format {} arguments", "some");