fn create_log_message(record: &Record<'_>, target: &str, start: Instant) -> String