public function TestLogger::countErrors in Configuration selector 8
Same name and namespace in other branches
- 8.2 src/TestLogger.php \Drupal\config_selector\TestLogger::countErrors()
File
- src/
TestLogger.php, line 139
Class
- TestLogger
- A test logger.
Namespace
Drupal\config_selectorCode
public function countErrors() {
return count(static::$logs['critical']) + count(static::$logs['error']) + count(static::$logs['emergency']);
}