1 database.inc public DatabaseConnection::setLogger(DatabaseLog $logger)

Associates a logging object with this connection.

Parameters

DatabaseLog $logger: The logging object we want to use.

File

core/includes/database/database.inc, line 604
Core systems for the database layer.

Class

DatabaseConnection
Base Database API class.

Code

public function setLogger(DatabaseLog $logger) {
  $this->logger = $logger;
}