You are here

protected property Log::$queryLog in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Database/Log.php \Drupal\Core\Database\Log::queryLog

Cache of logged queries. This will only be used if the query logger is enabled.

The structure for the logging array is as follows:

array( $logging_key = array( array('query' => '', 'args' => array(), 'caller' => '', 'target' => '', 'time' => 0), array('query' => '', 'args' => array(), 'caller' => '', 'target' => '', 'time' => 0), ), );

Type: array

File

core/lib/Drupal/Core/Database/Log.php, line 32

Class

Log
Database query logger.

Namespace

Drupal\Core\Database

Code

protected $queryLog = [];