LoggerChannel::$loggers

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

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

Type: array

File

core/lib/Drupal/Core/Logger/LoggerChannel.php, line 65

Class

LoggerChannel
Defines a logger channel that most implementations will use.

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.