Skip to content

Commit

Permalink
Merge pull request #65 from luebbe/master
Browse files Browse the repository at this point in the history
Fix for #61 and #64
  • Loading branch information
danieleteti authored Dec 14, 2022
2 parents 759e2bf + b9bd406 commit 1e15ea7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LoggerPro.FileAppender.pas
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ constructor TLoggerProFileAppenderBase.Create(aMaxBackupFileCount: Integer; aMax
begin
inherited Create(ALogFormat);
fLogsFolder := aLogsFolder;
fMaxBackupFileCount:= Min(1, aMaxBackupFileCount);
fMaxBackupFileCount:= Max(1, aMaxBackupFileCount);
fMaxFileSizeInKiloByte := aMaxFileSizeInKiloByte;
fLogFileNameFormat := aLogFileNameFormat;
fFileAppenderOptions := aFileAppenderOptions;
Expand Down

0 comments on commit 1e15ea7

Please sign in to comment.