instance method
debug?
Ruby on Rails 8.1.2
Since v7.1.6Signature
debug?()
True if the log level allows entries with severity Logger::DEBUG to be written to at least one broadcast. False otherwise.
Source
# File activesupport/lib/active_support/broadcast_logger.rb, line 141
def debug?
@broadcasts.any? { |logger| logger.debug? }
end
Defined in activesupport/lib/active_support/broadcast_logger.rb line 141
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::BroadcastLogger