Fix log messages

This commit is contained in:
ErrorNoInternet
2023-01-28 22:51:06 +08:00
parent 2314713a2c
commit 3836ad8094

View File

@@ -34,12 +34,14 @@ pub fn log_message(message_type: LogMessageType, message: &String) {
message
)
}
LogMessageType::Matrix => println!(
"{} {} {}",
current_time(),
colored_brackets(&"MATRIX".bold().blue()),
message.red()
),
LogMessageType::Matrix => {
println!(
"{} {} {}",
current_time(),
colored_brackets(&"MATRIX".bold().green()),
message
)
}
LogMessageType::Error => println!(
"{} {} {}",
current_time(),