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

Constructor.

Parameters

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

File

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

Class

DatabaseLog
Database query logger.

Code

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