You are here

private static property NewRelicLoggerTest::$defaultContext in New Relic 8

Same name and namespace in other branches
  1. 2.x tests/src/Unit/Logger/NewRelicLoggerTest.php \Drupal\Tests\new_relic_rpm\Unit\Logger\NewRelicLoggerTest::defaultContext
  2. 2.0.x tests/src/Unit/Logger/NewRelicLoggerTest.php \Drupal\Tests\new_relic_rpm\Unit\Logger\NewRelicLoggerTest::defaultContext

The default request context for tests.

Type: array

File

tests/src/Unit/Logger/NewRelicLoggerTest.php, line 23

Class

NewRelicLoggerTest
@coversDefaultClass \Drupal\new_relic_rpm\Logger\NewRelicLogger @group new_relic_rpm

Namespace

Drupal\Tests\new_relic_rpm\Unit\Logger

Code

private static $defaultContext = [
  'channel' => 'mytype',
  'ip' => '127.0.0.1',
  'request_uri' => '/foo',
  'referer' => '/bar',
  'uid' => 1,
];