LoggerPro 2.1.1
Fixed
- Delphi 10.2.3 Tokyo compatibility restored. Two Delphi 11+/10.3+-only constructs had crept into shipped units and broke compilation on Tokyo (and Seattle+):
TFile.GetSize(introduced in Delphi 11 Alexandria) inLoggerPro.FileBySourceAppenderandLoggerPro.HTMLFileAppender. Replaced with a singleGetFileSizeCompathelper inLoggerPro.FileAppender, guarded by{$IF CompilerVersion >= 35}: nativeTFile.GetSizeon Delphi 11+, aTFileStream-based fallback on older compilers.- Inline variable declarations (
for var/var x := ..., Delphi 10.3 Rio) inLoggerPro.FileBySourceAppenderand across samples and unit tests. Converted to classicvarblocks.
Tests: 222/222 on Delphi 13 Win32. Core runtime package and representative samples build clean.
Thanks to Mark Lobanov for reporting the Tokyo compatibility issue.