Class: RailsCustomLogging::Subscribers::ActionController
- Inherits:
-
ActiveSupport::LogSubscriber
- Object
- ActiveSupport::LogSubscriber
- RailsCustomLogging::Subscribers::ActionController
- Defined in:
- lib/rails_custom_logging/subscribers/action_controller.rb
Instance Method Summary collapse
Instance Method Details
#process_action(event) ⇒ Object
4 5 6 7 8 9 |
# File 'lib/rails_custom_logging/subscribers/action_controller.rb', line 4 def process_action(event) info do payload = RailsCustomLogging.transformer.call(event) RailsCustomLogging.formatter.call(payload) end end |