method
log_call
v3.1.0 -
Show latest stable
- Class:
ActiveSupport::Dependencies
log_call(*args)protected
No documentation available.
# File activesupport/lib/active_support/dependencies.rb, line 685
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