lib/timber/events/template_render.rb in timber-1.1.14 vs lib/timber/events/template_render.rb in timber-2.0.0
- old
+ new
@@ -1,10 +1,10 @@
module Timber
module Events
# The template render event track template renderings and their performance.
#
- # @note This event should be installed automatically through probes,
- # such as the {Probes::ActionViewLogSubscriber} probe.
+ # @note This event should be installed automatically through integrations,
+ # such as the {Integrations::ActionView::LogSubscriber} integration.
class TemplateRender < Timber::Event
attr_reader :message, :name, :time_ms
def initialize(attributes)
@message = attributes[:message] || raise(ArgumentError.new(":message is required"))
\ No newline at end of file