StartLogging Method of the Engine Object

This method enables logging of errors, warnings and method calls.

Syntax

Visual Basic .NET

Sub StartLogging( _
  LogFileName As String, _
  WriteMethodCalls As Boolean _
)
    

C++

HRESULT StartLogging(
  BSTR         LogFileName,
  VARIANT_BOOL WriteMethodCalls
);
    

Parameters

LogFileName
[in] This parameter contains the full path to the log file. If the file does not exist, it will be created.
WriteMethodCalls
[in] This parameter enables logging calls of ABBYY FlexiCapture SDK methods to the log file. The format is as follows:

<time of call>, <duration of execution (in ms)>, <Interface::Method (parameter1, … )>

For example, 12:40:31.254, 17 ms, ITextRecognitionParams::put_OneWordPerLine( VARIANT_TRUE )

Return values

This method has no specific return values. It returns the standard return values of ABBYY FlexiCapture SDK functions.

Remarks

The log file can contain a list of objects that have not been deleted before the deinitialization of the Engine object. To do this, do not call the StopLogging method which disables logging, before the deinitialization.

See also

Engine

IEngine::StopLogging

15.08.2023 13:19:30

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.