End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Logger#error?
error?
lib/logger.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.1.3/lib/logger.rb, line 328
def error?; level <= ERROR; end
Returns true if and only if the current severity level allows for the printing of ERROR messages.