class TestLogger in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-kernel/Tests/EventListener/ExceptionListenerTest.php \Symfony\Component\HttpKernel\Tests\EventListener\TestLogger
Hierarchy
- class \Symfony\Component\HttpKernel\Tests\Logger implements LoggerInterface
- class \Symfony\Component\HttpKernel\Tests\EventListener\TestLogger implements DebugLoggerInterface
Expanded class hierarchy of TestLogger
File
- vendor/
symfony/ http-kernel/ Tests/ EventListener/ ExceptionListenerTest.php, line 124
Namespace
Symfony\Component\HttpKernel\Tests\EventListenerView source
class TestLogger extends Logger implements DebugLoggerInterface {
public function countErrors() {
return count($this->logs['critical']);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Logger:: |
protected | property | ||
Logger:: |
public | function |
Action must be taken immediately. Overrides LoggerInterface:: |
|
Logger:: |
public | function | ||
Logger:: |
public | function | ||
Logger:: |
public | function |
Critical conditions. Overrides LoggerInterface:: |
|
Logger:: |
public | function |
Detailed debug information. Overrides LoggerInterface:: |
|
Logger:: |
public | function | ||
Logger:: |
public | function |
System is unusable. Overrides LoggerInterface:: |
|
Logger:: |
public | function | ||
Logger:: |
public | function |
Runtime errors that do not require immediate action but should typically
be logged and monitored. Overrides LoggerInterface:: |
|
Logger:: |
public | function | ||
Logger:: |
public | function |
Interesting events. Overrides LoggerInterface:: |
|
Logger:: |
public | function |
Logs with an arbitrary level. Overrides LoggerInterface:: |
|
Logger:: |
public | function |
Normal but significant events. Overrides LoggerInterface:: |
|
Logger:: |
public | function | ||
Logger:: |
public | function |
Exceptional occurrences that are not errors. Overrides LoggerInterface:: |
|
Logger:: |
public | function | ||
TestLogger:: |
public | function |
Returns the number of errors. Overrides DebugLoggerInterface:: |