function RulesLog::__construct

Same name in other branches
  1. 8.x-3.x src/Logger/RulesLog.php \Drupal\rules\Logger\RulesLog::__construct()

This is a singleton.

File

includes/rules.core.inc, line 2711

Class

RulesLog
The rules default logging class.

Code

protected function __construct($logLevel = self::WARN) {
    $this->logLevel = $logLevel;
}