Skip to content

Commit

Permalink
https://github.com/danieleteti/loggerpro/issues/60
Browse files Browse the repository at this point in the history
  • Loading branch information
danieleteti committed Aug 3, 2022
1 parent 2324626 commit a2e985e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions LoggerPro.FileAppender.pas
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ implementation
uses
System.IOUtils,
System.StrUtils,
System.Math,
idGlobal
{$IF Defined(Android)}
,Androidapi.Helpers
Expand Down Expand Up @@ -248,8 +249,8 @@ constructor TLoggerProFileAppenderBase.Create(aMaxBackupFileCount: Integer; aMax
aFileAppenderOptions: TFileAppenderOptions; aLogFileNameFormat: string; aLogFormat: string; aEncoding: TEncoding);
begin
inherited Create(ALogFormat);
fLogsFolder := aLogsFolder;
fMaxBackupFileCount := aMaxBackupFileCount;
fLogsFolder := aLogsFolder;
fMaxBackupFileCount:= Min(1, aMaxBackupFileCount);
fMaxFileSizeInKiloByte := aMaxFileSizeInKiloByte;
fLogFileNameFormat := aLogFileNameFormat;
fFileAppenderOptions := aFileAppenderOptions;
Expand Down

0 comments on commit a2e985e

Please sign in to comment.