omni_orchestrator/logging.rs
1use colored::Colorize;
2
3pub fn print_banner(title: &str, color: fn(&str) -> colored::ColoredString) {
4 let border = "╔═══════════════════════════════════════════════════════════════╗";
5 let bottom = "╚═══════════════════════════════════════════════════════════════╝";
6
7 println!("{}", color(border));
8 println!("{}", color(&format!("║{:^63}║", title)));
9 println!("{}", color(bottom));
10}
11