function DatabaseLog::__construct

Constructor.

Parameters

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

File

includes/database/log.inc, line 50

Class

DatabaseLog
Database query logger.

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.