You are here

public function RequestLogger::__construct in Search API Elasticsearch 8

Parameters

LoggerInterface $logger:

bool $debug:

File

src/Logger/RequestLogger.php, line 19

Class

RequestLogger
Class QueryLogger @package Drupal\search_api_elasticsearch\Logger

Namespace

Drupal\search_api_elasticsearch\Logger

Code

public function __construct(LoggerInterface $logger = null, $debug = false) {
  $this->logger = $logger;
  $this->debug = $debug;
}