NullAdapter.php in New Relic 8
File
src/ExtensionAdapter/NullAdapter.php
View source
<?php
namespace Drupal\new_relic_rpm\ExtensionAdapter;
class NullAdapter implements NewRelicAdapterInterface {
public function setTransactionState($state) {
}
public function logException(\Exception $e) {
}
public function logError($message) {
}
public function addCustomParameter($key, $value) {
}
public function setTransactionName($name) {
}
public function recordCustomEvent($name, array $attributes) {
}
public function disableAutorum() {
return NULL;
}
}