pub trait Logger { fn log(&self, record: &Record<'_>); }
A trait encapsulating the operations required of a logger
Logs the Record
Record