You are here

service logger.factory in Zircon Profile 8

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

Class

Drupal\Core\Logger\LoggerChannelFactory

Tags

  • service_collector
5 string references to logger.factory
ConnectionFailureTest::testConnectionFailureLogging in core/modules/dblog/src/Tests/ConnectionFailureTest.php
Tests logging of connection failures.
EntityReferenceEntityFormatter::create in core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceEntityFormatter.php
Creates an instance of the plugin.
FormBase::logger in core/lib/Drupal/Core/Form/FormBase.php
Gets the logger for a specific channel.
ViewsIntegrationTest::testIntegration in core/modules/dblog/src/Tests/Views/ViewsIntegrationTest.php
Tests the integration.
_drupal_log_error in core/includes/errors.inc
Logs a PHP error or exception and displays an error page in fatal cases.

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 }