Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Logger#error?
() -> bool
error?
lib/logger.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/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.