class RailsBand::ActionController::LogSubscriber
The custom LogSubscriber for ActionController.
def consumer_of(sub_event)
def consumer_of(sub_event) consumers[:"#{sub_event}.action_controller"] || consumers[:action_controller] || consumers[:default] end
def exist_fragment?(event)
def exist_fragment?(event) consumer_of(__method__)&.call(Event::ExistFragment.new(event)) end
def expire_fragment(event)
def expire_fragment(event) consumer_of(__method__)&.call(Event::ExpireFragment.new(event)) end
def halted_callback(event)
def halted_callback(event) consumer_of(__method__)&.call(Event::HaltedCallback.new(event)) end
def process_action(event)
def process_action(event) consumer_of(__method__)&.call(Event::ProcessAction.new(event)) end
def read_fragment(event)
def read_fragment(event) consumer_of(__method__)&.call(Event::ReadFragment.new(event)) end
def redirect_to(event)
def redirect_to(event) consumer_of(__method__)&.call(Event::RedirectTo.new(event)) end
def send_data(event)
def send_data(event) consumer_of(__method__)&.call(Event::SendData.new(event)) end
def send_file(event)
def send_file(event) consumer_of(__method__)&.call(Event::SendFile.new(event)) end
def send_stream(event)
def send_stream(event) consumer_of(__method__)&.call(Event::SendStream.new(event)) end
def start_processing(event)
def start_processing(event) consumer_of(__method__)&.call(Event::StartProcessing.new(event)) end
def unpermitted_parameters(event)
def unpermitted_parameters(event) consumer_of(__method__)&.call(Event::UnpermittedParameters.new(event)) end
def write_fragment(event)
def write_fragment(event) consumer_of(__method__)&.call(Event::WriteFragment.new(event)) end