|
@@ -165,8 +165,8 @@ type
|
|
|
Class var
|
|
|
_LogHook : TFresnelLogHandler;
|
|
|
Protected
|
|
|
- Class Procedure DoLog(aType: TeventType; Const Msg : string);
|
|
|
- Class Procedure DoLog(aType: TeventType; Const Fmt : string; Const Args : Array of const);
|
|
|
+ Class Procedure DoLog(aType: TEventType; Const Msg : string);
|
|
|
+ Class Procedure DoLog(aType: TEventType; Const Fmt : string; Const Args : Array of const);
|
|
|
Public
|
|
|
function ToString: RTLString; override;
|
|
|
end;
|
|
@@ -753,13 +753,14 @@ end;
|
|
|
|
|
|
{ TFresnelComponent }
|
|
|
|
|
|
-class procedure TFresnelComponent.DoLog(aType: TeventType; const Msg: string);
|
|
|
+class procedure TFresnelComponent.DoLog(aType: TEventType; const Msg: string);
|
|
|
begin
|
|
|
if Assigned(_LogHook) then
|
|
|
_LogHook(aType,Msg);
|
|
|
end;
|
|
|
|
|
|
-class procedure TFresnelComponent.DoLog(aType: TeventType; const Fmt: string; const Args: array of const);
|
|
|
+class procedure TFresnelComponent.DoLog(aType: TEventType; const Fmt: string;
|
|
|
+ const Args: array of const);
|
|
|
begin
|
|
|
if Assigned(_logHook) then
|
|
|
_LogHook(aType,SafeFormat(Fmt,Args));
|