Merge pull request #4299 from Karunakar/logger

using the active support logger
This commit is contained in:
Aaron Patterson 2012-01-04 09:34:19 -08:00
commit e094b8d251

@ -34,8 +34,8 @@ def behavior=(behavior)
if defined?(Rails) && Rails.logger
Rails.logger
else
require 'logger'
Logger.new($stderr)
require 'active_support/logger'
ActiveSupport::Logger.new($stderr)
end
logger.warn message
logger.debug callstack.join("\n ") if debug