Question
How to generate engine log in SDK products?
Answer
FineReader Engine, FlexiCapture Engine and FlexiCapture SDK support advanced logging.
Use the StartLogging method of the Engine object. This method enables logging of errors, warnings and method calls.
The StartLogging method should have 2 arguments:
- LogFileName: full or relative path to the log file.
- WriteMethodCalls: pass True if you want to log all engine API calls, or False if you only want to catch errors.
Example:
engineLoader.Engine.StartLogging("c:\Users\user\Desktop\log.txt", true);
If you want to create a full log file, call this method right after the engine is initialized.
It is also possible to view the scanning logs and the licensing logs.
Comments
0 comments
Please sign in to leave a comment.