You are here

public function NaughtyRecursiveLogger::__construct in Drupal 8

Same name and namespace in other branches
  1. 9 core/tests/Drupal/Tests/Core/Logger/LoggerChannelTest.php \Drupal\Tests\Core\Logger\NaughtyRecursiveLogger::__construct()

File

core/tests/Drupal/Tests/Core/Logger/LoggerChannelTest.php, line 158
Contains \Drupal\Tests\Core\Logger\LoggerChannelTest.

Class

NaughtyRecursiveLogger

Namespace

Drupal\Tests\Core\Logger

Code

public function __construct(LoggerChannel $channel) {
  $this->channel = $channel;
}