- Add the ability to write "escape sequences" something similar to ANSI escape code. Each sequence/code should accessible as afunction and automatically processed in
Logger::write_str.
- Create documentation for the escape sequences codes (or refer to ANSI escape code and document which sequences are available)
Something like
pub fn set_fg_color(&mut self, color: Color) { ... }
pub fn write_str(&mut self, s: &str) {
if /* \eRED */ {
self.set_color(Color::RED);
}
//...
}
I think we can implement the following:
Logger::write_str.Something like
I think we can implement the following: