interface DebugLoggerInterface

DebugLoggerInterface.

@author Fabien Potencier <fabien@symfony.com>

Hierarchy

Expanded class hierarchy of DebugLoggerInterface

All classes that implement DebugLoggerInterface

3 files declare their use of DebugLoggerInterface
ExceptionListener.php in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/EventListener/ExceptionListener.php
ExceptionListenerTest.php in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/EventListener/ExceptionListenerTest.php
LoggerDataCollector.php in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/DataCollector/LoggerDataCollector.php

File

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

Namespace

Symfony\Component\HttpKernel\Log
View source
interface DebugLoggerInterface {

  /**
   * Returns an array of logs.
   *
   * A log is an array with the following mandatory keys:
   * timestamp, message, priority, and priorityName.
   * It can also have an optional context key containing an array.
   *
   * @return array An array of logs
   */
  public function getLogs();

  /**
   * Returns the number of errors.
   *
   * @return integer The number of errors
   */
  public function countErrors();

}

Members

Namesort descending Modifiers Type Description Overrides
DebugLoggerInterface::countErrors public function Returns the number of errors. 1
DebugLoggerInterface::getLogs public function Returns an array of logs.