method
log_call
rails latest stable - Class:
ActiveSupport::Dependencies
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