1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/// Macro for outputting colored text to the terminal.
///
/// # Arguments
///
/// - `Output` or `OutputBuilder` - One or more output instances to execute
/// Prints a success message with green background and white text.
///
/// Supports format string syntax like `format!` macro:
/// - `println_success!("Hello")` - Simple string
/// - `println_success!("Hello {}", name)` - Positional arguments
/// - `println_success!("Hello {name}")` - Named arguments (Rust 1.58+)
/// Prints a warning message with yellow background and white text.
///
/// Supports format string syntax like `format!` macro:
/// - `println_warning!("Warning")` - Simple string
/// - `println_warning!("Warning: {}", error)` - Positional arguments
/// - `println_warning!("Warning: {error}")` - Named arguments (Rust 1.58+)
/// Prints an error message with red background and white text.
///
/// Supports format string syntax like `format!` macro:
/// - `println_error!("Error")` - Simple string
/// - `println_error!("Error: {}", message)` - Positional arguments
/// - `println_error!("Error: {message}")` - Named arguments (Rust 1.58+)