Module: Isimud::Logging

Included in:
Client, Event, EventListener, EventObserver, ModelWatcher, TestClient::Queue
Defined in:
lib/isimud/logging.rb

Instance Method Summary collapse

Instance Method Details

#log(message, level = Isimud.log_level) ⇒ Object



3
4
5
# File 'lib/isimud/logging.rb', line 3

def log(message, level = Isimud.log_level)
  logger.send (level || :debug).to_sym , message
end

#loggerObject



7
8
9
# File 'lib/isimud/logging.rb', line 7

def logger
  Isimud.logger
end