A convenient color log tool for cli.
``` use clicolorlog::Logger; use clicolorlog::LogType;
fn main() { let logger = Logger::new(12); logger.info("This is a info message."); logger.warn("This is a warning message."); logger.error("This is a error message."); logger.stylelog(LogType::Info, "Download", "This is a custom style message."); logger.stylelog(LogType::Plain, "Console", "This is a plain style message."); logger.log("This is a plain log message."); } ```