Exemplo n.º 1
0
 static function log2($v, $i = null)
 {
     $msg = null;
     if ($i !== null) {
         $msg = _hx_string_or_null($i->fileName) . ":" . _hx_string_rec($i->lineNumber, "") . ":" . _hx_string_or_null($i->methodName) . ":";
     } else {
         $msg = "";
     }
     $msg .= Std::string($v);
     $http = new haxe_Http("http://localhost/devel/php/jsLog.php");
     $http->setParameter("log", $msg);
     $http->onData = array(new _hx_lambda(array(&$http, &$i, &$msg, &$v), "me_cunity_debug_Out_0"), 'execute');
     $http->request(true);
 }