-
Notifications
You must be signed in to change notification settings - Fork 193
Open
Description
When compiling with delphi 12.1 I get the following error:
[dcc64 Error] Quick.Logger.Intf.pas(71): E2266 Only one of a set of overloaded methods can be published
Adding public seems to fix it.
TNullLogger = class(TInterfacedObject,ILogger)
public
procedure Info(const aMsg : string); overload;
procedure Info(const aMsg : string; aParams : array of const); overload;
procedure Succ(const aMsg : string); overload;
procedure Succ(const aMsg : string; aParams : array of const); overload;
procedure Done(const aMsg : string); overload;
procedure Done(const aMsg : string; aParams : array of const); overload;
procedure Warn(const aMsg : string); overload;
procedure Warn(const aMsg : string; aParams : array of const); overload;
procedure Error(const aMsg : string); overload;
procedure Error(const aMsg : string; aParams : array of const); overload;
procedure Critical(const aMsg : string); overload;
procedure Critical(const aMsg : string; aParams : array of const); overload;
procedure Trace(const aMsg : string); overload;
procedure Trace(const aMsg : string; aParams : array of const); overload;
procedure Debug(const aMsg : string); overload;
procedure Debug(const aMsg : string; aParams : array of const); overload;
procedure &Except(const aMsg : string; aValues : array of const); overload;
procedure &Except(const aMsg, aException, aStackTrace : string); overload;
procedure &Except(const aMsg : string; aValues: array of const; const aException, aStackTrace: string); overload;
procedure &Except(MsgObject : TObject); overload;
end;
Metadata
Metadata
Assignees
Labels
No labels