Parcourir la source

pas2js: comment

mattias il y a 4 ans
Parent
commit
0b5c8030e4
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      utils/pas2js/httpcompiler.pp

+ 2 - 0
utils/pas2js/httpcompiler.pp

@@ -583,7 +583,9 @@ begin
     exit;
   Msg:=Format('(Proxy redirect) location: %s, Method: %s, From: %s, to: %s',[aLocation,aMethod,aFromURl,atoURL]);
   if IsConsole then
+    {AllowWriteln}
     Writeln(FormatDateTime('yyyy-mm-dd hh:nn:ss.zzz',Now),' [',etInfo,'] ',Msg)
+    {AllowWriteln-}
   else
     inherited DoLog(etInfo, Msg);
 end;