class RailsBand::ActionDispatch::LogSubscriber
The custom LogSubscriber for ActionDispatch.
def consumer_of(sub_event)
def consumer_of(sub_event) consumers[:"#{sub_event}.action_dispatch"] || consumers[:action_dispatch] || consumers[:default] end
def process_middleware(event)
def process_middleware(event) consumer_of(__method__)&.call(Event::ProcessMiddleware.new(event)) end
def redirect(event)
def redirect(event) consumer_of(__method__)&.call(Event::Redirect.new(event)) end
def request(event)
def request(event) consumer_of(__method__)&.call(Event::Request.new(event)) end