Connection::setLogger

public Connection::setLogger(Log $logger)

Associates a logging object with this connection.

Parameters

\Drupal\Core\Database\Log $logger: The logging object we want to use.

File

core/lib/Drupal/Core/Database/Connection.php, line 447

Class

Connection
Base Database API class.

Namespace

Drupal\Core\Database

Code

public function setLogger(Log $logger) {
  $this->logger = $logger;
}
doc_Drupal
2016-10-29 08:56:01
Comments
Leave a Comment

Please login to continue.