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

Associates a logging object with this connection.

Parameters

$logger: The logging object we want to use.

File

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

Class

DatabaseConnection
Base Database API class.

Code

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