function DatabaseConnection::setLogger
Associates a logging object with this connection.
Parameters
$logger: The logging object we want to use.
File
-
includes/
database/ database.inc, line 603
Class
- DatabaseConnection
- Base Database API class.
Code
public function setLogger(DatabaseLog $logger) {
$this->logger = $logger;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.