Debug Object

Used to debug blocks and write lines into the Log.

HRESULT WriteLog( BSTR bstrData,  long lFlags);

bstrData

Line to be written into the Log. It is possible to write several lines divided by the line feed symbol (\n) at once.

lFlags

Status flag. May take the following values:

0x00000000   EMSLOGGER_INFO

Means that the operation succeeded. In the Log, it is displayed as iconinfo

0x00000001   EMSLOGGER_WARNING

Means that the operation was executed with a remark. In the Log, it is displayed as iconwarning

0x00000002   EMSLOGGER_ERROR

Means that an error occurred while executing the operation. In the Log, it is displayed as iconerror