You are here

public function Log::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Database/Log.php \Drupal\Core\Database\Log::__construct()

Constructor.

Parameters

$key: The database connection key for which to enable logging.

File

core/lib/Drupal/Core/Database/Log.php, line 52
Contains \Drupal\Core\Database\Log.

Class

Log
Database query logger.

Namespace

Drupal\Core\Database

Code

public function __construct($key = 'default') {
  $this->connectionKey = $key;
}