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