danieleteti / loggerpro

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

A small XE4 compilation issue and a fix #79

Closed edwinyzh closed 1 year ago

edwinyzh commented 1 year ago

In LoggerPro.pas, the following line couldn't be compiled under XE4:

procedure TLoggerProAppenderBase.Setup;
begin
  FFormatSettings := LoggerPro.GetDefaultFormatSettings;
end;

Change it as following will fix the XE4 compilation error: FFormatSettings := GetDefaultFormatSettings;

Thanks!

engycz commented 1 year ago

Same problem with Delphi 10 Seattle