logger.factory

Same name in other branches
  1. 8.9.x core/core.services.yml \logger.factory
  2. 10 core/core.services.yml \logger.factory

Class

Drupal\Core\Logger\LoggerChannelFactory

Tags

  • service_collector
13 string references to logger.factory
CronTest::setUp in core/tests/Drupal/Tests/Core/CronTest.php
EntityReferenceEntityFormatter::create in core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceEntityFormatter.php
Creates an instance of the plugin.
LanguageNegotiatorPluginTest::testLanguageNegotiatorNoPlugin in core/modules/language/tests/src/Kernel/LanguageNegotiatorPluginTest.php
Tests for PluginNotFoundException.
LoggerChannelTrait::getLogger in core/lib/Drupal/Core/Logger/LoggerChannelTrait.php
Gets the logger for a specific channel.
MediaEmbed::create in core/modules/media/src/Plugin/Filter/MediaEmbed.php
Creates an instance of the plugin.

... See full list

File

core/core.services.yml

View source
  1. class: Drupal\Core\Logger\LoggerChannelFactory
  2. parent: container.trait
  3. tags:
  4. - { name: service_collector, tag: logger, call: addLogger }

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