Exemplo n.º 1
0
 /**
  * Records how long a query took to run when the same query is passed in twice.
  *
  * @param string $sql
  * @param NULL $explain
  *
  * @return mixed
  */
 public function log_query($sql, $explain = NULL)
 {
     if (!$this->is_enabled()) {
         return;
     }
     $this->_console->log_query($sql, $explain);
 }