/** * ensureIndex. */ public function ensureIndex($keys, array $options = array()) { $this->time->start(); $return = parent::ensureIndex($keys, $options); $time = $this->time->stop(); $this->log(array('type' => 'ensureIndex', 'keys' => $keys, 'options' => $options, 'time' => $time)); return $return; }