1
0
mirror of synced 2024-12-22 17:33:08 +01:00

Fixed: ALogDetails parameter not passed everywhere

This commit is contained in:
Mark van Renswoude 2015-06-19 08:18:17 +00:00
parent 31b757708b
commit c8bfc7289c
2 changed files with 2 additions and 1 deletions

View File

@ -59,6 +59,7 @@ uses
constructor TX2LogFileObserver.Create(const AOutputFileName: string; ALogLevels: TX2LogLevels; ALogDetails: Boolean); constructor TX2LogFileObserver.Create(const AOutputFileName: string; ALogLevels: TX2LogLevels; ALogDetails: Boolean);
begin begin
FOutputFileName := AOutputFileName; FOutputFileName := AOutputFileName;
FLogDetails := ALogDetails;
inherited Create(ALogLevels); inherited Create(ALogLevels);
end; end;

View File

@ -96,7 +96,7 @@ begin
FFormatSettings := TFormatSettings.Create; FFormatSettings := TFormatSettings.Create;
FDateFormat := GetLogResourceString(@RollingLogFileDateFormat); FDateFormat := GetLogResourceString(@RollingLogFileDateFormat);
inherited Create(AFileName); inherited Create(AFileName, ALogDetails);
end; end;