nerijus
2/6/2014 - 8:26 AM

Get last query log

Get last query log

$query = $this->controller->UsageWorker->getDataSource()->getLog(false, false);
debug(end($query['log']));