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

Constructor.

Parameters

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

File

includes/database/log.inc, line 49
Logging classes for the database layer.

Class

DatabaseLog
Database query logger.

Code

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