function LoggerChannelInterface::setLoggers

Same name in other branches
  1. 9 core/lib/Drupal/Core/Logger/LoggerChannelInterface.php \Drupal\Core\Logger\LoggerChannelInterface::setLoggers()
  2. 8.9.x core/lib/Drupal/Core/Logger/LoggerChannelInterface.php \Drupal\Core\Logger\LoggerChannelInterface::setLoggers()
  3. 11.x 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.

1 method overrides LoggerChannelInterface::setLoggers()
LoggerChannel::setLoggers in core/lib/Drupal/Core/Logger/LoggerChannel.php
Sets the loggers for this channel.

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);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.