instance method
log
Ruby on Rails 5.2.8.1
Since v2.2.3 Last seen in v6.0.6 PrivateSignature
log()
No documentation comment.
Source
# File activesupport/lib/active_support/cache.rb, line 666
def log
return unless logger && logger.debug? && !silence?
logger.debug(yield)
end
Defined in activesupport/lib/active_support/cache.rb line 666
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Cache::Store