You are here

public function Connection::getLogger in Zircon Profile 8

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

Gets the current logging object for this connection.

Return value

\Drupal\Core\Database\Log|null The current logging object for this connection. If there isn't one, NULL is returned.

File

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

Class

Connection
Base Database API class.

Namespace

Drupal\Core\Database

Code

public function getLogger() {
  return $this->logger;
}