Content-Length: 7721 | pFad | https://doc.rust-lang.org/reference/../std/process/../../../std/macro.eprintln.html

eprintln in std - Rust

eprintln

Macro eprintln 

1.19.0 · Source
macro_rules! eprintln {
    () => { ... };
    ($($arg:tt)*) => { ... };
}
Expand description

Prints to the standard error, with a newline.

Equivalent to the println! macro, except that output goes to io::stderr instead of io::stdout. See println! for example usage.

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

See the formatting documentation in std::fmt for details of the macro argument syntax.

§Panics

Panics if writing to io::stderr fails.

Writing to non-blocking stderr can cause an error, which will lead this macro to panic.

§Examples

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








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://doc.rust-lang.org/reference/../std/process/../../../std/macro.eprintln.html

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy