Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Log.php

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, 'start' => 0), array('query' => '', 'args' => array(), 'caller' => '', 'target' => '', 'time' => 0, 'start' => 0), ), );

Type: array

File

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

Class

Log
Database query logger.

Namespace

Drupal\Core\Database

Code

protected $queryLog = [];
RSS feed
Powered by Drupal