Associates a logging object with this connection.
$logger: The logging object we want to use.
public function setLogger(DatabaseLog $logger) { $this->logger = $logger; }