public function LoggerMock::addLogger in Acquia Content Hub 8.2
Adds a logger.
Parameters
\Psr\Log\LoggerInterface $logger: The PSR-3 logger to add.
int $priority: The priority of the logger being added.
Overrides LoggerChannelInterface::addLogger
File
- tests/
src/ Unit/ Helpers/ LoggerMock.php, line 81
Class
- LoggerMock
- Mock Logger created for easy assertions of log messages.
Namespace
Drupal\Tests\acquia_contenthub\Unit\HelpersCode
public function addLogger(LoggerInterface $logger, $priority = 0) {
}