lib/freddy/producers.rb in freddy-jruby-0.5.6 vs lib/freddy/producers.rb in freddy-jruby-0.6.0
- old
+ new
@@ -1,7 +1,15 @@
+class Freddy
+ module Producers
+ def self.log_send_event(logger, payload, destination)
+ logger.debug message: 'Sending message', queue: destination, payload: payload
+ end
+ end
+end
+
Dir[File.dirname(__FILE__) + '/producers/*.rb'].each(&method(:require))