W3cubDocs

/Drupal 8

public function LoggerChannelInterface::setLoggers

public LoggerChannelInterface::setLoggers(array $loggers)

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Logger!LoggerChannelInterface.php/function/LoggerChannelInterface::setLoggers/8.1.x