Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works

Random project

loggerpro-test

Bug test/fix

View on GitHub

Anyone may press Interesting, signed in or not. It helps others find this project.

Member rating

No ratings yet.

Sign in to rate this project.

README

LoggerPro test

Testing stuff

bug.jpg

Bug in <LoggerPro.FileAppender.pas>
pascal
procedure TLoggerProFileAppenderBase.WriteToStream(const aStreamWriter: TStreamWriter; const aValue: string);
begin
  aStreamWriter.WriteLine(aValue);
  aStreamWriter.Flush;
end;
Not sure if ok but this will fix
pascal
procedure TLoggerProFileAppenderBase.WriteToStream(const aStreamWriter: TStreamWriter; const aValue: string);
begin
  aStreamWriter.BaseStream.Seek(0, soEnd);
  aStreamWriter.WriteLine(aValue);
  aStreamWriter.Flush;
end;