/**
  * ユーザ毎のアクセスログに詳細を記録
  * @param self $log
  */
 private static function writeUserOperationLogFileFile(self $log)
 {
     $timestamp = $log->timestamp;
     $remoteIp = $log->remoteIp;
     $auth = $log->auth;
     $logContents = $log->getContents();
     $logFile = new UserOperationLogFile($timestamp, $remoteIp);
     $logFile->setAuth($auth);
     $logFile->setLogContents($logContents);
     $logFile->write();
 }
 /**
  * 
  * @param type $contents
  */
 public function write()
 {
     $log = $this;
     $timestamp = $log->timestamp;
     $remoteIp = $log->remoteIp;
     $auth = $log->auth;
     $logContents = $log->getLogContents();
     $logFile = new UserOperationLogFile($timestamp, $remoteIp);
     $logFile->setAuth($auth);
     $logFile->setLogContents($logContents);
     $logFile->write();
 }