Skip to main content

output

Macro output 

Source
macro_rules! output {
    () => { ... };
    ($($arg:tt)+) => { ... };
}
Expand description

Writes one plain, newline-terminated message to the user-facing output.

Output is written to stdout on native targets and to console.log on Wasm. Unlike diagnostic logging, it is not affected by logging features, levels, or module filters.

ยงExamples

use ixa::output;

output!("simulation complete at time {}", 42.0);