Skip to main content

deprintln

Macro deprintln 

Source
macro_rules! deprintln {
    ($template:literal, $($args:tt)*) => { ... };
    ($template:expr, $($args:tt)*) => { ... };
}
Expand description

Dynamic drop in eprintln! replacement.

dfmt::deprintln!("Hello, {}!", "World").unwrap();
dfmt::deprintln!("Hello, {}!".to_string(), "World").unwrap();

Refer to the dformat!() documentation for the full API overview.