LoggerChannelFactory::$loggers

Same name in other branches
  1. 9 core/lib/Drupal/Core/Logger/LoggerChannelFactory.php \Drupal\Core\Logger\LoggerChannelFactory::loggers
  2. 10 core/lib/Drupal/Core/Logger/LoggerChannelFactory.php \Drupal\Core\Logger\LoggerChannelFactory::loggers
  3. 11.x core/lib/Drupal/Core/Logger/LoggerChannelFactory.php \Drupal\Core\Logger\LoggerChannelFactory::loggers

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

Type: array

File

core/lib/Drupal/Core/Logger/LoggerChannelFactory.php, line 27

Class

LoggerChannelFactory
Defines a factory for logging channels.

Namespace

Drupal\Core\Logger

Code

protected $loggers = [];

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