method

log_call

rails latest stable - Class: ActiveSupport::Dependencies

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v4.2.9) is shown here.

log_call(*args)
protected

No documentation available.

# File activesupport/lib/active_support/dependencies.rb, line 743
      def log_call(*args)
        if log_activity?
          arg_str = args.collect { |arg| arg.inspect } * ', '
          /in `([a-z_\?\!]+)'/ =~ caller(1).first
          selector = $1 || '<unknown>'
          log "called #{selector}(#{arg_str})"
        end
      end