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