You are here

service logger.factory in Drupal 9

Same name and namespace in other branches
  1. 8 core/core.services.yml \logger.factory
  2. 10 core/core.services.yml \logger.factory

Class

Drupal\Core\Logger\LoggerChannelFactory

Tags

  • service_collector
12 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.
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.
OEmbedFormatter::create in core/modules/media/src/Plugin/Field/FieldFormatter/OEmbedFormatter.php
Creates an instance of the plugin.

... See full list

File

core/core.services.yml
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 }