instance method log_exception

Ruby on Rails 8.0.4

Since v7.0.10 Private

Available in: v7.0.10 v7.1.6 v7.2.3 v8.0.4 v8.1.2

Signature

log_exception(name, e)

No documentation comment.

Parameters

name req
e req
Source
# File activesupport/lib/active_support/log_subscriber.rb, line 186
    def log_exception(name, e)
      if logger
        logger.error "Could not log #{name.inspect} event. #{e.class}: #{e.message} #{e.backtrace}"
      end
    end

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

Defined in ActiveSupport::LogSubscriber

Type at least 2 characters to search.

↑↓ navigate · open · esc close