static function ErrorLog($_message)
 {
     if (defined("FILE_ERROR_LOG")) {
         if (@file_exists(FILE_ERROR_LOG) && @filesize(FILE_ERROR_LOG) > 500000) {
             @unlink(FILE_ERROR_LOG);
         }
         IOStruct::AppendToFile(FILE_ERROR_LOG, $_message . "\r");
         if (!empty(Server::$Response)) {
             if (!isset(Server::$Response->Exceptions)) {
                 Server::$Response->Exceptions = "";
             }
             Server::$Response->Exceptions .= "<val err=\"" . base64_encode(trim($_message)) . "\" />";
         }
     } else {
         Server::$Response->Exceptions = "";
     }
 }