Example #1
0
 /**
  * Writes to a log file.
  *
  * @param string $file Log file to write to.
  * @param string $text Text to write to the log file.
  */
 private function writeToLogFile($file, $text)
 {
     $entry = $this->convertTextToLogEntry($text);
     File::writeToFile($file, $entry, true);
 }