You are here

public function Log::get in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Database/Log.php \Drupal\Core\Database\Log::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

core/lib/Drupal/Core/Database/Log.php, line 80
Contains \Drupal\Core\Database\Log.

Class

Log
Database query logger.

Namespace

Drupal\Core\Database

Code

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