__print_message_common

Macro __print_message_common 

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

Internal macro for handling common message printing logic.

ยงArguments

  • ColorType - Text color
  • ColorType - Background color
  • Format string and arguments (same as format! macro)

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