public function DatabaseLog::__construct in Drupal 7
Constructor.
Parameters
$key: The database connection key for which to enable logging.
File
- 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;
}