You are here

public function LoggerChannelInterface::setLoggers in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Logger/LoggerChannelInterface.php \Drupal\Core\Logger\LoggerChannelInterface::setLoggers()
  2. 9 core/lib/Drupal/Core/Logger/LoggerChannelInterface.php \Drupal\Core\Logger\LoggerChannelInterface::setLoggers()

Sets the loggers for this channel.

Parameters

array $loggers: An array of arrays of \Psr\Log\LoggerInterface keyed by priority.

File

core/lib/Drupal/Core/Logger/LoggerChannelInterface.php, line 59

Class

LoggerChannelInterface
Logger channel interface.

Namespace

Drupal\Core\Logger

Code

public function setLoggers(array $loggers);