Add error println
This commit is contained in:
parent
a9bcfe154a
commit
61329db39f
@ -14,3 +14,7 @@ pub fn notice_println(msg: impl Into<String>) {
|
|||||||
pub fn warn_println(msg: impl Into<String>) {
|
pub fn warn_println(msg: impl Into<String>) {
|
||||||
eprintln!("{}", msg.into().yellow().bold());
|
eprintln!("{}", msg.into().yellow().bold());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pub fn err_println(msg: impl Into<String>) {
|
||||||
|
eprintln!("{}", msg.into().red().bold());
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user