You are here

class TestLogger in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-kernel/Tests/EventListener/ExceptionListenerTest.php \Symfony\Component\HttpKernel\Tests\EventListener\TestLogger

Hierarchy

Expanded class hierarchy of TestLogger

File

vendor/symfony/http-kernel/Tests/EventListener/ExceptionListenerTest.php, line 124

Namespace

Symfony\Component\HttpKernel\Tests\EventListener
View source
class TestLogger extends Logger implements DebugLoggerInterface {
  public function countErrors() {
    return count($this->logs['critical']);
  }

}

Members

Namesort descending Modifiers Type Description Overrides
Logger::$logs protected property
Logger::alert public function Action must be taken immediately. Overrides LoggerInterface::alert
Logger::clear public function
Logger::crit public function
Logger::critical public function Critical conditions. Overrides LoggerInterface::critical
Logger::debug public function Detailed debug information. Overrides LoggerInterface::debug
Logger::emerg public function
Logger::emergency public function System is unusable. Overrides LoggerInterface::emergency
Logger::err public function
Logger::error public function Runtime errors that do not require immediate action but should typically be logged and monitored. Overrides LoggerInterface::error
Logger::getLogs public function
Logger::info public function Interesting events. Overrides LoggerInterface::info
Logger::log public function Logs with an arbitrary level. Overrides LoggerInterface::log
Logger::notice public function Normal but significant events. Overrides LoggerInterface::notice
Logger::warn public function
Logger::warning public function Exceptional occurrences that are not errors. Overrides LoggerInterface::warning
Logger::__construct public function
TestLogger::countErrors public function Returns the number of errors. Overrides DebugLoggerInterface::countErrors