You are here

public function LoggerChannelInterface::setLoggers in Service Container 7

Same name and namespace in other branches
  1. 7.2 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 src/Logger/LoggerChannel.php
Sets the loggers for this channel.

File

lib/Drupal/Core/Logger/LoggerChannelInterface.php, line 64
Contains \Drupal\Core\Logger\LoggerChannelInterface.

Class

LoggerChannelInterface
Logger channel interface.

Namespace

Drupal\Core\Logger

Code

public function setLoggers(array $loggers);