pub fn log_request( log_headers: bool, headers: &HeaderMap, redacted_hash: &Arc<Option<WrappedRedactedHashingAlg>>, method: &Method, )