lib/lita.rb in lita-4.3.2 vs lib/lita.rb in lita-4.4.0
- old
+ new
@@ -38,11 +38,11 @@
alias_method :test_mode?, :test_mode
# The global Logger object.
# @return [::Logger] The global Logger object.
def logger
- @logger ||= Logger.get_logger(config.robot.log_level)
+ @logger ||= Logger.get_logger(config.robot.log_level, config.robot.log_formatter)
end
# The root Redis object.
# @return [Redis::Namespace] The root Redis object.
def redis
@@ -101,9 +101,10 @@
require_relative "lita/handler/chat_router"
require_relative "lita/handler/http_router"
require_relative "lita/handler/event_router"
require_relative "lita/handler"
require_relative "lita/user"
+require_relative "lita/room"
require_relative "lita/source"
require_relative "lita/authorization"
require_relative "lita/message"
require_relative "lita/response"
require_relative "lita/http_callback"