public Log::clear($logging_key)
Empty the query log for the specified logging key.
This method does not stop logging, it simply clears the log. To stop logging, use the end() method.
$logging_key: The logging key to empty.
public function clear($logging_key) { $this->queryLog[$logging_key] = 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/function/Log::clear/8.1.x