You are here

service logger.factory in Drupal 8

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

Class

Drupal\Core\Logger\LoggerChannelFactory

Tags

  • service_collector
10 string references to logger.factory
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.
OEmbedResourceConstraintValidator::create in core/modules/media/src/Plugin/Validation/Constraint/OEmbedResourceConstraintValidator.php
Instantiates a new instance of this class.

... 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 }