Module: LogWeasel::Resque::Worker
- Defined in:
- lib/log_weasel/resque.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(base) ⇒ Object
64 65 66 67 |
# File 'lib/log_weasel/resque.rb', line 64 def self.included(base) base.send :alias_method, :log_without_transaction_id, :log base.send :alias_method, :log, :log_with_transaction_id end |
Instance Method Details
#log_with_transaction_id(message) ⇒ Object
60 61 62 |
# File 'lib/log_weasel/resque.rb', line 60 def log_with_transaction_id() log_without_transaction_id "#{LogWeasel::Transaction.id} #{}" end |