Skip to content

Commit

Permalink
Merge pull request #12 from androschuk/master
Browse files Browse the repository at this point in the history
Fixed an issue where GetAppendersClassNames returns an incorrect result
  • Loading branch information
danieleteti authored Nov 16, 2017
2 parents 34134d4 + f4af7f3 commit 583c1a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LoggerPro.pas
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ function TLogWriter.GetAppendersClassNames: TArray<string>;
SetLength(Result, FLogAppenders.Count);
for I := 0 to FLogAppenders.Count - 1 do
begin
Result[I] := TObject(FLogAppenders[0]).ClassName;
Result[I] := TObject(FLogAppenders[I]).ClassName;
end;
finally
TMonitor.Exit(FLogAppenders);
Expand Down

0 comments on commit 583c1a3

Please sign in to comment.