Class: EventMachine::Kannel::LogMessage

Inherits:
Object
  • Object
show all
Defined in:
lib/em-kannel/log_message.rb

Instance Method Summary collapse

Constructor Details

#initialize(message, response) ⇒ LogMessage

Returns a new instance of LogMessage.



4
5
6
# File 'lib/em-kannel/log_message.rb', line 4

def initialize(message, response)
  @message, @response = message, response
end

Instance Method Details

#logObject



8
9
10
# File 'lib/em-kannel/log_message.rb', line 8

def log
  EM::Kannel.logger.info(message)
end