function Connection::getLogger
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Database/Connection.php \Drupal\Core\Database\Connection::getLogger()
- 10 core/lib/Drupal/Core/Database/Connection.php \Drupal\Core\Database\Connection::getLogger()
- 11.x 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 785
Class
- Connection
- Base Database API class.
Namespace
Drupal\Core\DatabaseCode
public function getLogger() {
return $this->logger;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.