Module: LogStasher::ContextWrapper
- Defined in:
- lib/logstasher/context_wrapper.rb
Instance Method Summary collapse
Instance Method Details
#process_action ⇒ Object
3 4 5 6 7 8 9 10 11 12 |
# 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 |