Skip to content

LoggerPro 2.1.1

Latest

Choose a tag to compare

@danieleteti danieleteti released this 04 Jun 14:23
· 4 commits to master since this release

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) in LoggerPro.FileBySourceAppender and LoggerPro.HTMLFileAppender. Replaced with a single GetFileSizeCompat helper in LoggerPro.FileAppender, guarded by {$IF CompilerVersion >= 35}: native TFile.GetSize on Delphi 11+, a TFileStream-based fallback on older compilers.
    • Inline variable declarations (for var / var x := ..., Delphi 10.3 Rio) in LoggerPro.FileBySourceAppender and across samples and unit tests. Converted to classic var blocks.

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.