You are here

public function TestLogger::getLogs in Configuration selector 8.2

Same name and namespace in other branches
  1. 8 src/TestLogger.php \Drupal\config_selector\TestLogger::getLogs()

File

src/TestLogger.php, line 35

Class

TestLogger
A test logger.

Namespace

Drupal\config_selector

Code

public function getLogs($level = FALSE) {
  return FALSE === $level ? static::$logs : static::$logs[$level];
}