1
0
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:
Salvador Diaz Fau 2017-02-12 20:03:26 +01:00
parent 1ce14d8796
commit 8aafbee064

View File

@ -356,9 +356,9 @@ const
begin
{$IFDEF DEBUG}
OutputDebugString(PWideChar(aMessage + chr(0)));
{$ENDIF}
if FLibLoaded then CefLog('CEF4Delphi', DEFAULT_LINE, CEF_LOG_SEVERITY_ERROR, aMessage);
{$ENDIF}
end;
function TCefApplication.CreateInternalApp : boolean;