public function logQueries($enable = null)
    {
        if ($enable !== null) {
            $this->_logQueries = $enable;
        }

        if ($this->_logQueries) {
            return $this->_logQueries;
        }

        return $this->_logQueries = $enable;
    }