instance method warn

Ruby on Rails edge

Since edge

Signature

warn(progname = nil, &block)

Equivalent to calling #add with severity Logger::WARN.

Parameters

progname opt = nil
block block
Source
# File activesupport/lib/active_support/proxy_logger.rb, line 198
    def warn(progname = nil, &block)
      add(WARN, nil, progname, &block)
    end

Defined in activesupport/lib/active_support/proxy_logger.rb line 198 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveSupport::ProxyLogger

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close