[][src]Macro rubbl_core::rn_note

macro_rules! rn_note {
    ($dest:expr, $( $fmt_args:expr ),*) => { ... };
    ($dest:expr, $( $fmt_args:expr ),* ; $err:expr) => { ... };
}

Send an informational notification to the user.

Standard usage looks like this:

This example is not tested
rn_note!(nb, "downloaded {} files", n_files);

where nb is a type implementing the NotificationBackend trait. You may also provide an Error value after a semicolon; the information it contains will be printed after the informational message. This is not expected to be common usage for this particular macro, but makes more sense for the rn_warning!, rn_severe!, and rn_fatal! macros.