public function TestLogger::clear in Configuration selector 8
Same name and namespace in other branches
- 8.2 src/TestLogger.php \Drupal\config_selector\TestLogger::clear()
1 call to TestLogger::clear()
- TestLogger::__construct in src/
TestLogger.php - TestLogger constructor.
File
- src/
TestLogger.php, line 37
Class
- TestLogger
- A test logger.
Namespace
Drupal\config_selectorCode
public function clear() {
static::$logs = [
'emergency' => [],
'alert' => [],
'critical' => [],
'error' => [],
'warning' => [],
'notice' => [],
'info' => [],
'debug' => [],
];
}