Module: Lumberjack::Rails::ActionCableExtension
- Defined in:
- lib/lumberjack/rails/action_cable_extension.rb
Overview
Extension for ActionCable::Connection::Base to wrap command processing with Lumberjack context.
This module ensures that all logging within ActionCable command processing is wrapped with the appropriate Lumberjack logger context, maintaining log consistency and enabling tagged logging features.
Instance Method Summary collapse
-
#command ⇒ Object
Override the command method to wrap it with Lumberjack logger context.
Instance Method Details
#command ⇒ Object
Override the command method to wrap it with Lumberjack logger context.
14 15 16 |
# File 'lib/lumberjack/rails/action_cable_extension.rb', line 14 def command(...) Lumberjack::Rails.logger_context(logger) { super } end |