def log_presenter_class_for(log_type)
      resource_type.constantize.log_presenter_class_for(log_type)
    rescue NameError
      Decidim::Log::BasePresenter
    end
def log_presenter_class_for(log_type)
      resource_type.constantize.log_presenter_class_for(log_type)
    rescue NameError
      Decidim::Log::BasePresenter
    end
Public: Finds the correct presenter class for the given
 `log_type` and the related `resource_type`. If no specific
 presenter can be found, it falls back to `Decidim::Log::BasePresenter`

 log_type - a Symbol representing the log

 Returns a Class.