interface LoggerInterface

LoggerInterface.

@author Fabien Potencier <fabien@symfony.com>

@api

Hierarchy

Expanded class hierarchy of LoggerInterface

All classes that implement LoggerInterface

Deprecated

since 2.2, to be removed in 3.0. Type-hint \Psr\Log\LoggerInterface instead.

2 files declare their use of LoggerInterface
ControllerResolver.php in drupal/core/lib/Drupal/Core/Controller/ControllerResolver.php
Contains \Drupal\Core\Controller\ControllerResolver.
UrlGenerator.php in drupal/core/lib/Drupal/Core/Routing/UrlGenerator.php
Contains Drupal\Core\Routing\UrlGenerator.

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Log/LoggerInterface.php, line 24

Namespace

Symfony\Component\HttpKernel\Log
View source
interface LoggerInterface extends PsrLogger {

  /**
   * @api
   * @deprecated since 2.2, to be removed in 3.0. Use emergency() which is PSR-3 compatible.
   */
  public function emerg($message, array $context = array());

  /**
   * @api
   * @deprecated since 2.2, to be removed in 3.0. Use critical() which is PSR-3 compatible.
   */
  public function crit($message, array $context = array());

  /**
   * @api
   * @deprecated since 2.2, to be removed in 3.0. Use error() which is PSR-3 compatible.
   */
  public function err($message, array $context = array());

  /**
   * @api
   * @deprecated since 2.2, to be removed in 3.0. Use warning() which is PSR-3 compatible.
   */
  public function warn($message, array $context = array());

}

Members

Namesort descending Modifiers Type Description Overrides
LoggerInterface::alert public function Action must be taken immediately. 2
LoggerInterface::crit Deprecated public function @api 1
LoggerInterface::critical public function Critical conditions. 2
LoggerInterface::debug public function Detailed debug information. 2
LoggerInterface::emerg Deprecated public function @api 1
LoggerInterface::emergency public function System is unusable. 2
LoggerInterface::err Deprecated public function @api 1
LoggerInterface::error public function Runtime errors that do not require immediate action but should typically be logged and monitored. 2
LoggerInterface::info public function Interesting events. 2
LoggerInterface::log public function Logs with an arbitrary level. 2
LoggerInterface::notice public function Normal but significant events. 2
LoggerInterface::warn Deprecated public function @api 1
LoggerInterface::warning public function Exceptional occurrences that are not errors. 2