浏览代码

* Made Log call virtual. Fixes issue #40623

Michaël Van Canneyt 1 年之前
父节点
当前提交
9c9497375e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/fcl-base/src/eventlog.pp

+ 1 - 1
packages/fcl-base/src/eventlog.pp

@@ -87,7 +87,7 @@ Type
     Function UnRegisterMessageFile : Boolean; virtual;
     Procedure Pause;
     Procedure Resume;
-    Procedure Log (EventType : TEventType; const Msg : String); {$ifndef fpc }Overload;{$endif}
+    Procedure Log (EventType : TEventType; const Msg : String); virtual; {$ifndef fpc }Overload;{$endif}
     Procedure Log (EventType : TEventType; const Fmt : String; Args : Array of const); {$ifndef fpc }Overload;{$endif}
     Procedure Log (const Msg : String); {$ifndef fpc }Overload;{$endif}
     Procedure Log (const Fmt : String; Args : Array of const); {$ifndef fpc }Overload;{$endif}