public function DatabaseConnection::getLogger

public DatabaseConnection::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

includes/database/database.inc, line 553
Core systems for the database layer.

Class

DatabaseConnection
Base Database API class.

Code

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/includes!database!database.inc/function/DatabaseConnection::getLogger/7.x