You are here

interface LoggerInterface in Zircon Profile 8

Same name in this branch
  1. 8 vendor/symfony/http-kernel/Log/LoggerInterface.php \Symfony\Component\HttpKernel\Log\LoggerInterface
  2. 8 vendor/psr/log/Psr/Log/LoggerInterface.php \Psr\Log\LoggerInterface
Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-kernel/Log/LoggerInterface.php \Symfony\Component\HttpKernel\Log\LoggerInterface

LoggerInterface.

@author Fabien Potencier <fabien@symfony.com>

Hierarchy

Expanded class hierarchy of LoggerInterface

All classes that implement LoggerInterface

Deprecated

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

File

vendor/symfony/http-kernel/Log/LoggerInterface.php, line 23

Namespace

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

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

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

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

  /**
   * @deprecated since version 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 1
LoggerInterface::critical public function Critical conditions. 2
LoggerInterface::debug public function Detailed debug information. 2
LoggerInterface::emerg Deprecated public function 1
LoggerInterface::emergency public function System is unusable. 2
LoggerInterface::err Deprecated public function 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. 3
LoggerInterface::notice public function Normal but significant events. 2
LoggerInterface::warn Deprecated public function 1
LoggerInterface::warning public function Exceptional occurrences that are not errors. 2