You are here

public function ExtensionAdapter::logError in New Relic 8

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

Logs an error message.

Parameters

string $message: The error message.

Overrides NewRelicAdapterInterface::logError

File

src/ExtensionAdapter/ExtensionAdapter.php, line 36

Class

ExtensionAdapter
Default new relic adapter.

Namespace

Drupal\new_relic_rpm\ExtensionAdapter

Code

public function logError($message) {
  newrelic_notice_error($message);
}