instance method
log_exception
Ruby on Rails 7.0.10
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 146
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 146
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::LogSubscriber