public function DatabaseLog::get

public DatabaseLog::get($logging_key)

Retrieve the query log for the specified logging key so far.

Parameters

$logging_key: The logging key to fetch.

Return value

An indexed array of all query records for this logging key.

File

includes/database/log.inc, line 78
Logging classes for the database layer.

Class

DatabaseLog
Database query logger.

Code

public function get($logging_key) {
  return $this->queryLog[$logging_key];
}

© 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!log.inc/function/DatabaseLog::get/7.x