protected property 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 = array();

© 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/core!lib!Drupal!Core!Database!Log.php/property/Log::queryLog/8.1.x