public function logger($str)
    {
        if (is_object($this->QUERY_LOG) && method_exists($this->QUERY_LOG, 'debug')) {
            $this->QUERY_LOG->debug($str);

            return true;
        }

        return false;
    }
public function logger($str)
    {
        if (is_object($this->QUERY_LOG) && method_exists($this->QUERY_LOG, 'debug')) {
            $this->QUERY_LOG->debug($str);

            return true;
        }

        return false;
    }
public function logger ( $ str ) { if ( is_object ( $ this -> QUERY_LOG ) && method_exists ( $ this -> QUERY_LOG , 'debug' ) ) { $ this -> QUERY_LOG -> debug ( $ str ) ; return true ; } return false ; }
Log a string to the query log.
@param $str The string
@return [boolean] success
Log a string to the query log .