class ActiveSupport::Deprecation::DeprecationProxy

:nodoc:

def self.new(*args, &block)

:nodoc:
def self.new(*args, &block)
  object = args.first
  return object unless object
  super
end

def inspect

logs rely on it for diagnostics.
Don't give a deprecation warning on inspect since test/unit and error
def inspect
  target.inspect
end

def method_missing(called, *args, &block)

def method_missing(called, *args, &block)
  warn caller_locations, called, args
  target.__send__(called, *args, &block)
end