Skip to content

End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →

instance method

Logger#error?

error?

Returns true if the log level allows entries with severity Logger::ERROR to be written, false otherwise. See Log Level.

See also #error #error! #fatal #fatal! also in 3.4 · 3.3 · 3.1 · 3.0