You are here

protected function ApigeeEdgeFunctionalTestTrait::logException in Apigee Edge 8

Log the given exception using the class short name as type.

Parameters

\Exception $exception: Exception to log.

string $suffix: Suffix for type string.

22 calls to ApigeeEdgeFunctionalTestTrait::logException()
AccessTest::tearDown in modules/apigee_edge_teams/tests/src/Functional/AccessTest.php
ApiProductAccessTest::tearDown in tests/src/FunctionalJavascript/ApiProductAccessTest.php
AppSettingsFormTest::tearDown in tests/src/FunctionalJavascript/AppSettingsFormTest.php
CacheTest::developerDeletedTest in tests/src/FunctionalJavascript/CacheTest.php
Tests developer & developer app cache invalidation after developer removal.
CacheTest::tearDown in tests/src/FunctionalJavascript/CacheTest.php

... See full list

File

tests/src/Traits/ApigeeEdgeFunctionalTestTrait.php, line 300

Class

ApigeeEdgeFunctionalTestTrait
Provides common functionality for the Apigee Edge test classes.

Namespace

Drupal\Tests\apigee_edge\Traits

Code

protected function logException(\Exception $exception, string $suffix = '') {
  $ro = new \ReflectionObject($this);
  watchdog_exception("{$ro->getShortName()}{$suffix}", $exception);
}