danieleteti / loggerpro

An modern and pluggable logging framework for Delphi
Apache License 2.0
352 stars 91 forks source link

Code doesn't compile in Delphi XE2 #51

Open Eugene-Kovalsky opened 2 years ago

Eugene-Kovalsky commented 2 years ago

TStringHelper appeared only in the XE3. Also {$IF} must be closed with {$IFEND} in XE2.

danieleteti commented 2 years ago

Thank you for your suggestions. We don't have XE2 anymore. Can you provide a PR o the changed units?

Eugene-Kovalsky commented 2 years ago

I've corrected the code for some appenders and ThreadSafeQueueU.pas unit so that the samples compiles and work properly (I didn't check remote logging). I can send diff file, but Simple console appender sample contains ITask interface which appeared in XE7. Maybe remove the mention of support for XE2 from the description?