original_string: public function log($message)
      {
  
          if (!empty($this->log_file)) {
              //echo $message;
              \file_put_contents($this->log_file, "\n" . $message, \FILE_APPEND);
          }
      }
code: public function log($message)
      {
  
          if (!empty($this->log_file)) {
              //echo $message;
              \file_put_contents($this->log_file, "\n" . $message, \FILE_APPEND);
          }
      }
code_tokens: public function log ( $ message ) { if ( ! empty ( $ this -> log_file ) ) { //echo $message; \ file_put_contents ( $ this -> log_file , "\n" . $ message , \ FILE_APPEND ) ; } }
docstring: Logs messages to a log file if it is set
  
  @param string $message
docstring_tokens: Logs messages to a log file if it is set