Connection::getLogger

public 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 458

Class

Connection
Base Database API class.

Namespace

Drupal\Core\Database

Code

public function getLogger() {
  return $this->logger;
}
doc_Drupal
2016-10-29 08:55:50
Comments
Leave a Comment

Please login to continue.