You are here

public function ExtensionAdapter::logException in New Relic 8

Same name and namespace in other branches
  1. 2.x src/ExtensionAdapter/ExtensionAdapter.php \Drupal\new_relic_rpm\ExtensionAdapter\ExtensionAdapter::logException()
  2. 2.0.x src/ExtensionAdapter/ExtensionAdapter.php \Drupal\new_relic_rpm\ExtensionAdapter\ExtensionAdapter::logException()

Logs an exception.

Parameters

\Exception $e: The exception.

Overrides NewRelicAdapterInterface::logException

File

src/ExtensionAdapter/ExtensionAdapter.php, line 29

Class

ExtensionAdapter
Default new relic adapter.

Namespace

Drupal\new_relic_rpm\ExtensionAdapter

Code

public function logException(\Exception $e) {
  newrelic_notice_error($e);
}