public function DatabaseLog::clear
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.
Parameters
$logging_key: The logging key to empty.
2 calls to DatabaseLog::clear()
- DatabaseLog::start in drupal-7.x/
includes/ database/ log.inc - Begin logging queries to the specified connection and logging key.
- DatabaseLog::start in drupal-7.x/
includes/ database/ log.inc - Begin logging queries to the specified connection and logging key.
Archivo
- drupal-7.x/
includes/ database/ log.inc, line 91 - Logging classes for the database layer.
Class
- DatabaseLog
- Database query logger.
Código
public function clear($logging_key) {
$this->queryLog[$logging_key] = array();
}