You are here

interface DebugLoggerInterface in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-kernel/Log/DebugLoggerInterface.php \Symfony\Component\HttpKernel\Log\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 vendor/symfony/http-kernel/EventListener/ExceptionListener.php
ExceptionListenerTest.php in vendor/symfony/http-kernel/Tests/EventListener/ExceptionListenerTest.php
LoggerDataCollector.php in vendor/symfony/http-kernel/DataCollector/LoggerDataCollector.php

File

vendor/symfony/http-kernel/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 int 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.