instance method
log_exception
Ruby on Rails 8.0.4
Since v7.0.10 PrivateSignature
log_exception(name, e)
No documentation comment.
Parameters
-
namereq -
ereq
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