__print_message_common

Macro __print_message_common 

Source
macro_rules! __print_message_common {
    ($color:expr, $bg_color:expr, $($data:expr),*) => { ... };
}
Expand description

Internal macro for handling common message printing logic.

ยงArguments

  • ColorType - Text color
  • ColorType - Background color
  • &str - One or more message strings to print

Used by the success/warning/error printing macros to avoid code duplication.