original_string: public function writeQueryToLog() {
          $file = $this->logLocation.'queries.txt';
          $current = file_get_contents($file);
          $current .= "SQL: ".$this->sql.":".serialize($this->values)."\n";
          file_put_contents($file, $current);
      }
code: public function writeQueryToLog() {
          $file = $this->logLocation.'queries.txt';
          $current = file_get_contents($file);
          $current .= "SQL: ".$this->sql.":".serialize($this->values)."\n";
          file_put_contents($file, $current);
      }
code_tokens: public function writeQueryToLog ( ) { $ file = $ this -> logLocation . 'queries.txt' ; $ current = file_get_contents ( $ file ) ; $ current .= "SQL: " . $ this -> sql . ":" . serialize ( $ this -> values ) . "\n" ; file_put_contents ( $ file , $ current ) ; }
docstring: Writes all queries to a log file
docstring_tokens: Writes all queries to a log file