mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2024-11-24 08:02:15 +02:00
Only log messages if DEBUG is defined
This commit is contained in:
parent
1ce14d8796
commit
8aafbee064
@ -356,9 +356,9 @@ const
|
|||||||
begin
|
begin
|
||||||
{$IFDEF DEBUG}
|
{$IFDEF DEBUG}
|
||||||
OutputDebugString(PWideChar(aMessage + chr(0)));
|
OutputDebugString(PWideChar(aMessage + chr(0)));
|
||||||
{$ENDIF}
|
|
||||||
|
|
||||||
if FLibLoaded then CefLog('CEF4Delphi', DEFAULT_LINE, CEF_LOG_SEVERITY_ERROR, aMessage);
|
if FLibLoaded then CefLog('CEF4Delphi', DEFAULT_LINE, CEF_LOG_SEVERITY_ERROR, aMessage);
|
||||||
|
{$ENDIF}
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TCefApplication.CreateInternalApp : boolean;
|
function TCefApplication.CreateInternalApp : boolean;
|
||||||
|
Loading…
Reference in New Issue
Block a user