You are here

class NullLogger in Zircon Profile 8

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

NullLogger.

@author Fabien Potencier <fabien@symfony.com>

Hierarchy

Expanded class hierarchy of NullLogger

File

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

Namespace

Symfony\Component\HttpKernel\Log
View source
class NullLogger extends PsrNullLogger implements LoggerInterface {
  public function emerg($message, array $context = array()) {
    @trigger_error('The ' . __METHOD__ . ' method is deprecated since version 2.2 and will be removed in 3.0. You should use the new emergency() method instead, which is PSR-3 compatible.', E_USER_DEPRECATED);
  }
  public function crit($message, array $context = array()) {
    @trigger_error('The ' . __METHOD__ . ' method is deprecated since version 2.2 and will be removed in 3.0. You should use the new critical() method instead, which is PSR-3 compatible.', E_USER_DEPRECATED);
  }
  public function err($message, array $context = array()) {
    @trigger_error('The ' . __METHOD__ . ' method is deprecated since version 2.2 and will be removed in 3.0. You should use the new error() method instead, which is PSR-3 compatible.', E_USER_DEPRECATED);
  }
  public function warn($message, array $context = array()) {
    @trigger_error('The ' . __METHOD__ . ' method is deprecated since version 2.2 and will be removed in 3.0. You should use the new warning() method instead, which is PSR-3 compatible.', E_USER_DEPRECATED);
  }

}

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 public function Overrides LoggerInterface::crit
NullLogger::emerg public function Overrides LoggerInterface::emerg
NullLogger::err public function Overrides LoggerInterface::err
NullLogger::log public function Logs with an arbitrary level. Overrides LoggerInterface::log
NullLogger::warn public function Overrides LoggerInterface::warn