macro_rules! cprint { ($title:expr, $msg:expr, $color:expr) => { ... }; }
Expand description
Print a message like Cargo does. The first argument is the title of the message, the second argument is the message itself and the third argument is the color of the title. The end of the title is padded with spaces to make it 12 characters long.
§Examples
use cprint::{cprint, Color, Coloration};
cprint!("Compiling", "main.rs", Color::Green);