You are here

public function TestLogger::addLogger in Search API Saved Searches 8

Adds a logger.

Parameters

\Psr\Log\LoggerInterface $logger: The PSR-3 logger to add.

int $priority: The priority of the logger being added.

Overrides LoggerChannel::addLogger

File

tests/src/Kernel/TestLogger.php, line 38

Class

TestLogger
Provides a logger that throws exceptions when logging errors.

Namespace

Drupal\Tests\search_api_saved_searches\Kernel

Code

public function addLogger(LoggerInterface $logger, $priority = 0) {
}