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