You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

7 lines
233 B

3 months ago
  1. module Semantic
  2. class LogSubscriber < ActiveSupport::LogSubscriber
  3. def start_processing(event)
  4. logger.warn("MyStarted #{event.payload[:controller]} - #{event.payload[:action]}", event.payload[:request])
  5. end
  6. end
  7. end