Class: Warren::Log::Channel

Inherits:
Object
  • Object
show all
Defined in:
lib/warren/log.rb

Instance Method Summary collapse

Instance Method Details

#<<(message) ⇒ Object


7
8
9
10
# File 'lib/warren/log.rb', line 7

def <<(message)
  Rails.logger.info "Published: #{message.routing_key}"
  Rails.logger.debug "Payload: #{message.payload}"
end