public function DatabaseLog::__construct
public DatabaseLog::__construct($key = 'default')
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; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!database!log.inc/function/DatabaseLog::__construct/7.x