instance method error

Ruby on Rails edge

Since edge

Signature

error(progname = nil, &block)

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

Parameters

progname opt = nil
block block
Source
# File activesupport/lib/active_support/proxy_logger.rb, line 204
    def error(progname = nil, &block)
      add(ERROR, nil, progname, &block)
    end

Defined in activesupport/lib/active_support/proxy_logger.rb line 204 · 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