public function LoggerChannel::setLoggers in Service Container 7.2
Same name and namespace in other branches
- 7 src/Logger/LoggerChannel.php \Drupal\service_container\Logger\LoggerChannel::setLoggers()
Sets the loggers for this channel.
Parameters
array $loggers: An array of arrays of \Psr\Log\LoggerInterface keyed by priority.
Overrides LoggerChannelInterface::setLoggers
File
- src/
Logger/ LoggerChannel.php, line 73 - Contains \Drupal\service_container\Logger\LoggerChannel.
Class
- LoggerChannel
- Defines a logger channel that most implementations will use.
Namespace
Drupal\service_container\LoggerCode
public function setLoggers(array $loggers) {
$this->loggers = $loggers;
}