module LogStasher::ContextWrapper

Public Instance Methods

process_action(*) click to toggle source
Calls superclass method
# File lib/logstasher/context_wrapper.rb, line 3
def process_action(*)
  Thread.current[:logstasher_context] = {
    :controller => self,
    :request    => request
  }

  super
ensure
  Thread.current[:logstasher_context] = nil
end