Search for logger

  1. Search 7.x for logger
  2. Search 9.5.x for logger
  3. Search 8.9.x for logger
  4. Search 10.3.x for logger
  5. Search main for logger
  6. Other projects
Title Object type File name Summary
LoggerChannelFactory::get function core/lib/Drupal/Core/Logger/LoggerChannelFactory.php
LoggerChannelFactory::__construct function core/lib/Drupal/Core/Logger/LoggerChannelFactory.php Constructs a LoggerChannelFactory.
LoggerChannelFactoryInterface interface core/lib/Drupal/Core/Logger/LoggerChannelFactoryInterface.php Logger channel factory interface.
LoggerChannelFactoryInterface.php file core/lib/Drupal/Core/Logger/LoggerChannelFactoryInterface.php
LoggerChannelFactoryInterface::addLogger function core/lib/Drupal/Core/Logger/LoggerChannelFactoryInterface.php Adds a logger to all the channels.
LoggerChannelFactoryInterface::get function core/lib/Drupal/Core/Logger/LoggerChannelFactoryInterface.php Retrieves the registered logger for the requested channel.
LoggerChannelFactoryTest class core/tests/Drupal/Tests/Core/Logger/LoggerChannelFactoryTest.php Tests Drupal\Core\Logger\LoggerChannelFactory.
LoggerChannelFactoryTest.php file core/tests/Drupal/Tests/Core/Logger/LoggerChannelFactoryTest.php
LoggerChannelFactoryTest::testGet function core/tests/Drupal/Tests/Core/Logger/LoggerChannelFactoryTest.php Tests LoggerChannelFactory::get().
LoggerChannelInterface interface core/lib/Drupal/Core/Logger/LoggerChannelInterface.php Logger channel interface.
LoggerChannelInterface.php file core/lib/Drupal/Core/Logger/LoggerChannelInterface.php
LoggerChannelInterface::addLogger function core/lib/Drupal/Core/Logger/LoggerChannelInterface.php Adds a logger.
LoggerChannelInterface::setCurrentUser function core/lib/Drupal/Core/Logger/LoggerChannelInterface.php Sets the current user.
LoggerChannelInterface::setLoggers function core/lib/Drupal/Core/Logger/LoggerChannelInterface.php Sets the loggers for this channel.
LoggerChannelInterface::setRequestStack function core/lib/Drupal/Core/Logger/LoggerChannelInterface.php Sets the request stack.
LoggerChannelTest class core/tests/Drupal/Tests/Core/Logger/LoggerChannelTest.php Tests Drupal\Core\Logger\LoggerChannel.
LoggerChannelTest.php file core/tests/Drupal/Tests/Core/Logger/LoggerChannelTest.php
LoggerChannelTest::providerTestLog function core/tests/Drupal/Tests/Core/Logger/LoggerChannelTest.php Data provider for self::testLog().
LoggerChannelTest::testLog function core/tests/Drupal/Tests/Core/Logger/LoggerChannelTest.php Tests LoggerChannel::log().
LoggerChannelTest::testLogRecursionProtection function core/tests/Drupal/Tests/Core/Logger/LoggerChannelTest.php Tests LoggerChannel::log() recursion protection.
LoggerChannelTest::testNullIp function core/tests/Drupal/Tests/Core/Logger/LoggerChannelTest.php Tests that $context['ip'] is a string even when the request's IP is NULL.
LoggerChannelTest::testSortLoggers function core/tests/Drupal/Tests/Core/Logger/LoggerChannelTest.php Tests LoggerChannel::addLoggers().
LoggerChannelTrait trait core/lib/Drupal/Core/Logger/LoggerChannelTrait.php Wrapper methods for the logger factory service.
LoggerChannelTrait.php file core/lib/Drupal/Core/Logger/LoggerChannelTrait.php
LoggerChannelTrait::$loggerFactory property core/lib/Drupal/Core/Logger/LoggerChannelTrait.php The logger channel factory service.
LoggerChannelTrait::getLogger function core/lib/Drupal/Core/Logger/LoggerChannelTrait.php Gets the logger for a specific channel.
LoggerChannelTrait::setLoggerFactory function core/lib/Drupal/Core/Logger/LoggerChannelTrait.php Injects the logger channel factory.
LoggerChannelWithoutConstructor class core/tests/Drupal/Tests/Core/Logger/LoggerChannelFactoryTest.php Call to test a logger channel class with no constructor.
LoggerChannelWithoutConstructor::__construct function core/tests/Drupal/Tests/Core/Logger/LoggerChannelFactoryTest.php
LoggerStub class core/modules/system/tests/modules/logger_aware_test/src/LoggerStub.php A logger stub.
LoggerStub.php file core/modules/system/tests/modules/logger_aware_test/src/LoggerStub.php
LoggerStub::log function core/modules/system/tests/modules/logger_aware_test/src/LoggerStub.php
logger_aware_test.info.yml file core/modules/system/tests/modules/logger_aware_test/logger_aware_test.info.yml core/modules/system/tests/modules/logger_aware_test/logger_aware_test.info.yml
logger_aware_test.logger_aware_existing service core/modules/system/tests/modules/logger_aware_test/logger_aware_test.services.yml Drupal\logger_aware_test\LoggerAwareStub
logger_aware_test.logger_aware_stub service core/modules/system/tests/modules/logger_aware_test/logger_aware_test.services.yml Drupal\logger_aware_test\LoggerAwareStub
logger_aware_test.services.yml file core/modules/system/tests/modules/logger_aware_test/logger_aware_test.services.yml core/modules/system/tests/modules/logger_aware_test/logger_aware_test.services.yml
MailHandler::$logger property core/modules/contact/src/MailHandler.php Logger service.
MailHandlerTest::$logger property core/modules/contact/tests/src/Unit/MailHandlerTest.php Logger service.
MailManager::$loggerFactory property core/lib/Drupal/Core/Mail/MailManager.php The logger factory.
MaintenanceModeSubscriber::getLogger function core/lib/Drupal/Core/EventSubscriber/MaintenanceModeSubscriber.php Gets the logging service.
MatcherDumperTest::$logger property core/tests/Drupal/KernelTests/Core/Routing/MatcherDumperTest.php The logger.
MediaEmbed::$loggerFactory property core/modules/media/src/Plugin/Filter/MediaEmbed.php The logger factory.
MigrateTestBase::$logger property core/modules/migrate/tests/src/Kernel/MigrateTestBase.php A logger prophecy object.
MigrateTestBase::setTestLogger function core/modules/migrate/tests/src/Kernel/MigrateTestBase.php Injects the test logger into the container.
NaughtyRecursiveLogger class core/tests/Drupal/Tests/Core/Logger/LoggerChannelTest.php Stub class for testing LoggerChannel.
NaughtyRecursiveLogger::$channel property core/tests/Drupal/Tests/Core/Logger/LoggerChannelTest.php The logger channel.
NaughtyRecursiveLogger::$message property core/tests/Drupal/Tests/Core/Logger/LoggerChannelTest.php The message to log.
NaughtyRecursiveLogger::log function core/tests/Drupal/Tests/Core/Logger/LoggerChannelTest.php
NaughtyRecursiveLogger::__construct function core/tests/Drupal/Tests/Core/Logger/LoggerChannelTest.php
OEmbed::$logger property core/modules/media/src/Plugin/media/Source/OEmbed.php The logger channel for media.

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