Error message

You are browsing documentation for drupal 7.x, which is not supported anymore. Read the updated version of this page for drupal 11.x (the latest version).

function DatabaseLog::get

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

Class

DatabaseLog
Database query logger.

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.