public function DatabaseLog::__construct

7.x log.inc public DatabaseLog::__construct($key = 'default')

Constructor.

Parameters

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

File

drupal-7.x/includes/database/log.inc, line 50
Logging classes for the database layer.

Class

DatabaseLog
Database query logger.

Code

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