LoggerChannelTrait::$loggerFactory

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Logger/LoggerChannelTrait.php \Drupal\Core\Logger\LoggerChannelTrait::loggerFactory
  2. 10 core/lib/Drupal/Core/Logger/LoggerChannelTrait.php \Drupal\Core\Logger\LoggerChannelTrait::loggerFactory
  3. 11.x core/lib/Drupal/Core/Logger/LoggerChannelTrait.php \Drupal\Core\Logger\LoggerChannelTrait::loggerFactory

The logger channel factory service.

Type: \Drupal\Core\Logger\LoggerChannelFactoryInterface

File

core/lib/Drupal/Core/Logger/LoggerChannelTrait.php, line 22

Class

LoggerChannelTrait
Wrapper methods for the logger factory service.

Namespace

Drupal\Core\Logger

Code

protected $loggerFactory;

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