Beispiel #1
0
 /**
  * Set log file
  * @param $dirPath Path to directory for the log file
  */
 public function setLogHandle($dirPath)
 {
     if (is_null(self::$_logHandle)) {
         self::$_logHandle = fopen($dirPath . DIRECTORY_SEPARATOR . 'selenium-rc-' . date('d-m-Y-H-i-s') . '.log', 'a+');
     }
 }