pub trait Log { fn debug(); fn error(); fn log(); fn trace(); } use crate::serial_print; use lliw::{Fg, Reset}; pub struct ANSISerialLogger; impl Log for ANSISerialLogger { fn debug() { serial_print!("[{}Debug{}]", Fg::Blue, Reset); todo!(); } fn error() { todo!(); } fn log() { todo!(); } fn trace() { todo!(); } }