1 log.inc public DatabaseLog::clear($logging_key)

Empty the query log for the specified logging key.

This method does not stop logging, it only clears the log. To stop logging, use the end() method.

Parameters

string $logging_key: The logging key to empty.

File

core/includes/database/log.inc, line 92
Logging classes for the database layer.

Class

DatabaseLog
Database query logger.

Code

public function clear($logging_key) {
  $this->queryLog[$logging_key] = array();
}