Skip to content

Commit

Permalink
Merge pull request #1 from CarlosHe/patch-1
Browse files Browse the repository at this point in the history
work with new DataLogger version
  • Loading branch information
dliocode committed Sep 20, 2023
2 parents f0824c1 + cd72f3c commit 36baa27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Horse.DataLogger.pas
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ class function THorseDataLogger.Logger(const ALogFormat: string; const AProvider
begin
FDataLogger := TDataLogger.Builder;
FDataLogger.SetProvider(FLoggerProvider);
FDataLogger.SetLogFormat(FLogFormat);
FDataLogger.SetTemplate(FLogFormat);
end;
finally
FCriticalSection.Release;
Expand Down Expand Up @@ -284,4 +284,4 @@ class function THorseDataLogger.ValidateValue(AValue: TDateTime): string;
Result := FormatDateTime('yyyy-mm-dd hh:mm:ss:zzz', AValue);
end;

end.
end.

0 comments on commit 36baa27

Please sign in to comment.