Fixed: ALogDetails parameter not passed everywhere
This commit is contained in:
parent
31b757708b
commit
c8bfc7289c
@ -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;
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user