pub type Logger = Arc<dyn Fn(&str) + Send + Sync>;
Receives log lines. The line has no prefix and no newline.
pub struct Logger { /* private fields */ }