instance method
log
Ruby on Rails 4.2.9
Since v2.2.3 Last seen in v6.0.6 PrivateSignature
log(operation, key, options = nil)
No documentation comment.
Parameters
-
operationreq -
keyreq -
optionsopt = nil
Source
# File activesupport/lib/active_support/cache.rb, line 550
def log(operation, key, options = nil)
return unless logger && logger.debug? && !silence?
logger.debug("Cache #{operation}: #{key}#{options.blank? ? "" : " (#{options.inspect})"}")
end
Defined in activesupport/lib/active_support/cache.rb line 550
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Cache::Store