public function DatabaseConnection::setLogger
Associates a logging object with this connection.
Parameters
$logger: The logging object we want to use.
Archivo
- drupal-7.x/
includes/ database/ database.inc, line 539 - Core systems for the database layer.
Class
- DatabaseConnection
- Base Database API class.
Código
public function setLogger(DatabaseLog $logger) {
$this->logger = $logger;
}