lib/resque_admin/logging.rb in resque_admin-1.0.4 vs lib/resque_admin/logging.rb in resque_admin-1.0.5

- old
+ new

@@ -1,12 +1,12 @@ -module Resque +module ResqueAdmin # Include this module in classes you wish to have logging facilities module Logging module_function # Thunk to the logger's own log method (if configured) def self.log(severity, message) - Resque.logger.__send__(severity, message) if Resque.logger + ResqueAdmin.logger.__send__(severity, message) if ResqueAdmin.logger end # Log level aliases def debug(message); Logging.log :debug, message; end def info(message); Logging.log :info, message; end