iprintln

Macro iprintln 

Source
macro_rules! iprintln {
    ($($t:tt)*) => { ... };
}
Expand description

Prints a given string with automatic indentation to the console.

This macro is an enhanced version of Rust’s println! macro, adding automatic indentation based on the current call depth.

§Example

use iprint::iprintln;

fn another_function() {
    iprintln!("This is like println! but with automatic indentation.");
}