龙
龙飘渺
Unregistered / Unconfirmed
GUEST, unregistred user!
procedure Log(S: string);
begin
{$IFDEF DEBUG_LOG}
FCriticalSection.Enter;
s := FormatdateTime('hh:nn:ss zzz ', Now) + s + #13#10;
FFileDebug.Write(s[1], Length(s));
FCriticalSection.Leave;
{$ENDIF}
end;
begin
{$IFDEF DEBUG_LOG}
FCriticalSection.Enter;
s := FormatdateTime('hh:nn:ss zzz ', Now) + s + #13#10;
FFileDebug.Write(s[1], Length(s));
FCriticalSection.Leave;
{$ENDIF}
end;