error?()
public
True if the log level allows entries
with severity Logger::ERROR to be written to at least one broadcast. False otherwise.
# File activesupport/lib/active_support/broadcast_logger.rb, line 201
def error?
@broadcasts.any? { |logger| logger.error? }
end