public function Connection::getLogger

Gets the current logging object for this connection.

Return value

DatabaseLog The current logging object for this connection. If there isn't one, NULL is returned.

File

drupal/core/lib/Drupal/Core/Database/Connection.php, line 392
Definition of Drupal\Core\Database\Connection

Class

Connection
Base Database API class.

Namespace

Drupal\Core\Database

Code

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