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 colorColorType
- Background color&str
- One or more message strings to print
Used by the success/warning/error printing macros to avoid code duplication.