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