Class: LogStasher::ActionView::LogSubscriber

Inherits:
ActionView::LogSubscriber
  • Object
show all
Includes:
CustomFields::LogSubscriber
Defined in:
lib/logstasher/action_view/log_subscriber.rb

Instance Method Summary collapse

Methods included from CustomFields::LogSubscriber

#extract_custom_fields

Instance Method Details

#loggerObject



18
19
20
# File 'lib/logstasher/action_view/log_subscriber.rb', line 18

def logger
  LogStasher.logger
end

#render_template(event) ⇒ Object Also known as: render_partial, render_collection



12
13
14
# File 'lib/logstasher/action_view/log_subscriber.rb', line 12

def render_template(event)
  logstash_event(event)
end