def log_view_rendering(options)
      return do_nothing_on_null(:log_view_rendering) if null?
      Utils.require_key(options, :name)
      Utils.require_key(options, :begin_time)
      Utils.require_key(options, :end_time)

      @transaction.log_activity(next_view_rendering_name,
        options[:begin_time], options[:end_time],
        options[:name], options[:has_error])
    end
def log_view_rendering(options)
      return do_nothing_on_null(:log_view_rendering) if null?
      Utils.require_key(options, :name)
      Utils.require_key(options, :begin_time)
      Utils.require_key(options, :end_time)

      @transaction.log_activity(next_view_rendering_name,
        options[:begin_time], options[:end_time],
        options[:name], options[:has_error])
    end
Logs timing information about the rendering of a single view, template or
 partial.

 Unlike {#log_view_rendering_block}, this form does not expect a block.
 However, you are expected to pass timing information to the options
 hash.

 The `union_station_hooks_rails` gem automatically calls
 {#log_view_rendering_block} for you if your application is a Rails app.
 It will call this on every view or partial rendering.

 @option options [String] :name Name of the view, template or partial
   that is being rendered.
 @option options [TimePoint or Time] :begin_time The time at which this
   view rendering begun. See {UnionStationHooks.now} to learn more.
 @option options [TimePoint or Time] :end_time The time at which this view
   rendering ended. See {UnionStationHooks.now} to learn more.
 @option options [Boolean] :has_error (optional) Whether an uncaught
   exception occurred during the view rendering. Default: false.