|
3K代码中日志引擎开启后会提示错误信息 那是因为编译器的原因导致语法错误,现在将3K日志引擎修正
procedure IdUDPServerLogUDPRead(Sender: TObject; AData: TBytes;
ABinding: TIdSocketHandle);
procedure TFrmLogData.IdUDPServerLogUDPRead(Sender: TObject; AData: TBytes;
ABinding: TIdSocketHandle);
var
LogStr: string;
begin
try
SetLength(LogStr, Length(AData));
Move(AData[0], LogStr[1], Length(AData));
LogMsgList.Add(LogStr);
except
end;
end;
新星
|
|