You are here

public function Connection::setLogger in Service Container 7

Same name and namespace in other branches
  1. 7.2 lib/Drupal/Core/Database/Connection.php \Drupal\Core\Database\Connection::setLogger()

File

lib/Drupal/Core/Database/Connection.php, line 63
Contains \Drupal\Core\Database\Connection.

Class

Connection

Namespace

Drupal\Core\Database

Code

public function setLogger(Log $logger) {
  return $this->connection
    ->setLogger($logger);
}