public function ExtensionAdapter::logException in New Relic 2.x
Same name and namespace in other branches
- 8 src/ExtensionAdapter/ExtensionAdapter.php \Drupal\new_relic_rpm\ExtensionAdapter\ExtensionAdapter::logException()
- 2.0.x src/ExtensionAdapter/ExtensionAdapter.php \Drupal\new_relic_rpm\ExtensionAdapter\ExtensionAdapter::logException()
Logs an exception.
Parameters
\Exception|\Throwable $exception: The exception.
Overrides NewRelicAdapterInterface::logException
File
- src/
ExtensionAdapter/ ExtensionAdapter.php, line 29
Class
- ExtensionAdapter
- Default new relic adapter.
Namespace
Drupal\new_relic_rpm\ExtensionAdapterCode
public function logException($exception) {
newrelic_notice_error($exception);
}