Console::Adapter::RailsSourceConsoleAdapterRailsActionController

module ActionController

ActionController integration for Console logger. Provides log subscribers that convert Rails ActionController events into Console-compatible log messages.

Nested

Definitions

def self.apply!(notifications: ActiveSupport::Notifications)

Attach the log subscriber to ActionController events.

Signature

parameter notifications ActiveSupport::Notifications

The notifications system to attach to.

Implementation

def self.apply!(notifications: ActiveSupport::Notifications)
	LogSubscriber.attach_to(:action_controller, LogSubscriber.new, notifications)
end