Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Logger#error?
error?
lib/logger.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/logger.rb, line 515
def error?; level <= ERROR; end
Returns true if the log level allows entries with severity Logger::ERROR to be written, false otherwise. See Log Level.