• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/db/connection.php
  • Класс: BitrixMainDBConnection
  • Вызов: Connection::startTracker
public function startTracker($reset = false)
{
	if ($this->sqlTracker == null)
		$this->sqlTracker = new DiagSqlTracker();
	if ($reset)
		$this->sqlTracker->reset();

	$this->trackSql = true;
	return $this->sqlTracker;
}