Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #4299 from Karunakar/logger

using the active support logger
  • Loading branch information...
commit e094b8d251550128a2986b9efed7ab725b439546 2 parents e2e4216 + a19f8b5
@tenderlove tenderlove authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 activesupport/lib/active_support/deprecation/behaviors.rb
View
4 activesupport/lib/active_support/deprecation/behaviors.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.