Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Logger#error
error(progname = nil, &block)
lib/logger.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/logger.rb, line 708
def error(progname = nil, &block)
add(ERROR, nil, progname, &block)
end
Equivalent to calling add with severity Logger::ERROR.