Connection::getLogger
public function 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\DatabaseCode
public function getLogger() { return $this->logger; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Database!Connection.php/function/Connection::getLogger/8.1.x