Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove previously defined class method logger to supress warnings in …

…Active Support test suites. [#4618 state:open]

Signed-off-by: José Valim <jose.valim@gmail.com>
  • Loading branch information...
commit cae33c41589373d62c76e2bb3cdb3fa023ec8521 1 parent 158e22d
@rohit rohit authored josevalim committed
Showing with 4 additions and 0 deletions.
  1. +4 −0 activesupport/lib/active_support/log_subscriber.rb
View
4 activesupport/lib/active_support/log_subscriber.rb
@@ -36,6 +36,10 @@ class LogSubscriber
class_attribute :logger
+ class << self
+ remove_method :logger
+ end
+
def self.logger
@logger ||= Rails.logger if defined?(Rails)
end
Please sign in to comment.
Something went wrong with that request. Please try again.