diff --git a/server/src/util.rs b/server/src/util.rs index df4747b..cfbddaf 100644 --- a/server/src/util.rs +++ b/server/src/util.rs @@ -7,3 +7,7 @@ pub fn print_copyright_notice() { pub fn notice_println(msg: impl Into) { println!("{}", msg.into().green().bold()); } + +pub fn warn_println(msg: impl Into) { + eprintln!("{}", msg.into().yellow().bold()); +}