Module: XmppGateway

Defined in:
lib/xmpp_gateway/logger.rb,
lib/xmpp_gateway/xmpp_pool.rb,
lib/xmpp_gateway/http_interface.rb,
lib/xmpp_gateway/xmpp_interface.rb

Defined Under Namespace

Classes: HttpInterface, XmppInterface, XmppPool

Class Method Summary collapse

Class Method Details

.loggerObject



3
4
5
6
7
8
9
# File 'lib/xmpp_gateway/logger.rb', line 3

def self.logger
  @@logger ||= begin
    l = Logger.new($stdout)
    l.level = Logger::INFO
    l
  end
end

.logger=(logger) ⇒ Object



11
12
13
# File 'lib/xmpp_gateway/logger.rb', line 11

def self.logger=(logger)
  @@logger = logger
end