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