class NullLogger

NullLogger.

@author Fabien Potencier <fabien@symfony.com>

@api

Hierarchy

Expanded class hierarchy of NullLogger

File

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

Namespace

Symfony\Component\HttpKernel\Log
View source
class NullLogger extends PsrNullLogger implements LoggerInterface {

  /**
   * @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
AbstractLogger::alert public function Action must be taken immediately. Overrides LoggerInterface::alert
AbstractLogger::critical public function Critical conditions. Overrides LoggerInterface::critical
AbstractLogger::debug public function Detailed debug information. Overrides LoggerInterface::debug
AbstractLogger::emergency public function System is unusable. Overrides LoggerInterface::emergency
AbstractLogger::error public function Runtime errors that do not require immediate action but should typically be logged and monitored. Overrides LoggerInterface::error
AbstractLogger::info public function Interesting events. Overrides LoggerInterface::info
AbstractLogger::notice public function Normal but significant events. Overrides LoggerInterface::notice
AbstractLogger::warning public function Exceptional occurrences that are not errors. Overrides LoggerInterface::warning
NullLogger::crit Deprecated public function @api Overrides LoggerInterface::crit
NullLogger::emerg Deprecated public function @api Overrides LoggerInterface::emerg
NullLogger::err Deprecated public function @api Overrides LoggerInterface::err
NullLogger::log public function Logs with an arbitrary level. Overrides LoggerInterface::log
NullLogger::warn Deprecated public function @api Overrides LoggerInterface::warn