namespace Drupal\Core\Logger

Same name in other branches
  1. 9 Drupal\Core\Logger
  2. 8.9.x Drupal\Core\Logger
  3. 11.x Drupal\Core\Logger
Object name File name Summary
LoggerChannel core/lib/Drupal/Core/Logger/LoggerChannel.php Defines a logger channel that most implementations will use.
LoggerChannelFactory core/lib/Drupal/Core/Logger/LoggerChannelFactory.php Defines a factory for logging channels.
LoggerChannelFactoryInterface core/lib/Drupal/Core/Logger/LoggerChannelFactoryInterface.php Logger channel factory interface.
LoggerChannelInterface core/lib/Drupal/Core/Logger/LoggerChannelInterface.php Logger channel interface.
LoggerChannelTrait core/lib/Drupal/Core/Logger/LoggerChannelTrait.php Wrapper methods for the logger factory service.
LogMessageParser core/lib/Drupal/Core/Logger/LogMessageParser.php Parses log messages and their placeholders.
LogMessageParserInterface core/lib/Drupal/Core/Logger/LogMessageParserInterface.php Defines an interface for parsing log messages and their placeholders.
RfcLoggerTrait core/lib/Drupal/Core/Logger/RfcLoggerTrait.php A copy of \Psr\Log\LoggerTrait that uses RFC 5424 compliant log levels.
RfcLogLevel core/lib/Drupal/Core/Logger/RfcLogLevel.php Defines various logging severity levels.

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